<!DOCTYPE html>
<html class=" js no-touch rgba multiplebgs backgroundsize opacity csstransitions fontface generatedcontent" style=""><!--<![endif]-->

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Jeans Star</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<!-- start canonical tag-->
<link rel="canonical" href="category.html">
<link rel="alternate" media="only screen and (max-width: 640px)" href="category.html">

<link rel="next" href="category.html">
<!-- end canonical tag-->
<base href=".">


<meta charset="utf-8">


<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0">
<meta name="robots" content="noodp,noydir">


<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->

<!-- IE 8 and IE9 CSS Compatability - Issue to solve IE selector # limitation -->
<!--[if lt IE 10 ]><link rel="stylesheet" href="css/styles_ie_01.css"><link rel="stylesheet" href="css/styles_ie_02.css"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<script type="text/javascript">window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o?o:e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({QJf3ax:[function(t,e){function n(t){function e(e,n,a){t&&t(e,n,a),a||(a={});for(var c=u(e),f=c.length,s=i(a,o,r),p=0;f>p;p++)c[p].apply(s,n);return s}function a(t,e){f[t]=u(t).concat(e)}function u(t){return f[t]||[]}function c(){return n(e)}var f={};return{on:a,emit:e,create:c,listeners:u,_events:f}}function r(){return{}}var o="nr@context",i=t("gos");e.exports=n()},{gos:"7eSDFh"}],ee:[function(t,e){e.exports=t("QJf3ax")},{}],gos:[function(t,e){e.exports=t("7eSDFh")},{}],"7eSDFh":[function(t,e){function n(t,e,n){if(r.call(t,e))return t[e];var o=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:o,writable:!0,enumerable:!1}),o}catch(i){}return t[e]=o,o}var r=Object.prototype.hasOwnProperty;e.exports=n},{}],D5DuLP:[function(t,e){function n(t,e,n){return r.listeners(t).length?r.emit(t,e,n):(o[t]||(o[t]=[]),void o[t].push(e))}var r=t("ee").create(),o={};e.exports=n,n.ee=r,r.q=o},{ee:"QJf3ax"}],handle:[function(t,e){e.exports=t("D5DuLP")},{}],XL7HBI:[function(t,e){function n(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:i(t,o,function(){return r++})}var r=1,o="nr@id",i=t("gos");e.exports=n},{gos:"7eSDFh"}],id:[function(t,e){e.exports=t("XL7HBI")},{}],loader:[function(t,e){e.exports=t("G9z0Bl")},{}],G9z0Bl:[function(t,e){function n(){var t=l.info=NREUM.info;if(t&&t.agent&&t.licenseKey&&t.applicationID&&c&&c.body){l.proto="https"===p.split(":")[0]||t.sslForHttp?"https://":"http://",a("mark",["onload",i()]);var e=c.createElement("script");e.src=l.proto+t.agent,c.body.appendChild(e)}}function r(){"complete"===c.readyState&&o()}function o(){a("mark",["domContent",i()])}function i(){return(new Date).getTime()}var a=t("handle"),u=window,c=u.document,f="addEventListener",s="attachEvent",p=(""+location).split("?")[0],l=e.exports={offset:i(),origin:p,features:{}};c[f]?(c[f]("DOMContentLoaded",o,!1),u[f]("load",n,!1)):(c[s]("onreadystatechange",r),u[s]("onload",n)),a("mark",["firstbyte",i()])},{handle:"D5DuLP"}]},{},["G9z0Bl"]);</script><link rel="stylesheet" href="http://www.revolveclothing.com/r/css/styles.css"><!--<![endif]-->

<link rel="stylesheet" href="css/styles.css"><!--<![endif]-->

<link href="css/header.css" type="text/css" rel="stylesheet">
	
<script src="js/head.js"></script>

<script language="javascript">
        function MouseRollover(MyImage) {
         MyImage.src = "img/category2/back.jpg";
    }
        function MouseOut(MyImage) {
                MyImage.src = "img/category2/front.jpg";
    }
</script>


<style type="text/css">


.plp_image_wrap:HOVER .plp_quickview_link{
	transition: z-index 0s linear 0.25s;
	-o-transition: z-index 0s linear 0.25s;
	-moz-transition: z-index 0s linear 0.25s;
	-webkit-transition: z-index 0s linear 0.25s;
}

.plp_image_wrap:HOVER .plp_quickview_link{
/*  	z-index: +1; */
	/* display:block; */
 	opacity: 0.85;
/* 	visibility */
}

.plp_quickview_link{
 	/* z-index: -1; */
	/* display:none; */
 	opacity: 0; 
}

/* .plp_badge{ */
/* 	z-index: -1; */
/* } */
</style>


<!-- <script src="http://is4.revolveclothing.com/r/js/quickview.js"></script> -->
<title>Woman - Jeans Star</title>
<meta name="description" content="Buy our latest Women&#39;s arrivals from All New Items at JEANS STAR with free 2-3 day shipping and returns, 30 day price match guarantee.">
<meta name="keywords" content=" All New Items, JEANS STAR">
<script type="text/javascript" charset="UTF-8" src="js/p13n_generated.js" async=""></script></head>
<body>


<script>
    var exdate = new Date();
    exdate.setDate(exdate.getDate() + 365);
    var c_value = "true; expires=" + exdate.toUTCString();
    document.cookie = 'signUpEmailSlider' + "=" + c_value;
</script>
<div class="email_signup_slide popslide" style="bottom: -232px;">

    <form action="javascript:signUpSlideEmail('Error, please try again!','emailSignUp', 'F','n');">
        <h1>
            GET IN THE KNOW
        </h1>
        <p>
            Let us keep you in the loop for<br>daily new arrivals, sales, features,<br>and promotions!
        </p>
        <input id="emailSignUp" class="email_input" type="text" name="search" value="Enter your e-mail here." onclick="if(this.value == &#39;Enter your e-mail here.&#39;) this.value=&#39;&#39;;" onblur="if(this.value.length == 0) this.value=&#39;Enter your e-mail here.&#39;;" autocomplete="off" placeholder="Enter your e-mail here.">

        <br>
        <input class="co_popup_cta" type="Submit" value="Sign Up" name="submit">
    </form>

    <div class="popup_closebtn"><a href="javascript:void(0);" class="popslide_close">x</a></div>

</div>


	
	<!--[if lt IE 7]>
            <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->

	<!-- Add your site or application content here -->

    <div class="rev_wrapper rev_wrapper">











<style>
.tt-suggestion.tt-cursor, .tt-suggestion.tt-cursor p{
    text-decoration: underline;
}

.tt-hint {
    color: #888
}
</style>
<!-- //////////////////////////// Header - Starts //////////////////////////// -->
<div class="hdr_search_overlay"></div>


<div id="rev_head-sticky-wrapper2" class="sticky-wrapper">
<div id="rev_head-sticky-wrapper" class="sticky-wrapper stuck">
<header class="rev_head">
<div class="rev_container rev_header">
<div class="rev_content">
<h1 class="rev_logo">

		<a href="index.html"><img src="img/logo/logo.jpg" width="223" height="33" alt="Jeans Star"></a> 

</h1>

<div class="rev_topbar">
    <div class="customer_care">HOT LINE:
        <span>090 771 5479</span>
    </div>
<!-- .rev_topbar -->
<div class="top_message">
    <p>
        
        <a href="index.html">RESOURCES GARMENT COMPANY LIMITED</a>
    </p>
	
    <div class="rev_search">
        <form action="r/SearchSelect.jsp" onsubmit="validateSearchInput();" id="search_form">
            <span class="twitter-typeahead" style="position: relative; display: inline-block; direction: ltr;"><input type="text" autocomplete="off" data-dep="" class="tt-hint" readonly="" spellcheck="false" tabindex="-1" style="position: absolute; top: 0px; left: 0px; border-color: transparent; box-shadow: none; opacity: 1; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255);"><input type="text" name="search" autocomplete="off" id="search_term_new" placeholder="Search" data-dep="" class="tt-input" spellcheck="false" dir="auto" style="position: relative; vertical-align: top; background-color: transparent;"><pre aria-hidden="true" style="position: absolute; visibility: hidden; white-space: pre; font-family: Karla, Arial, sans-serif; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; word-spacing: 0px; letter-spacing: 0px; text-indent: 0px; text-rendering: auto; text-transform: none;"></pre><span class="tt-dropdown-menu predict_search" style="position: absolute; top: 100%; display: none;"><div class="tt-dataset-textSuggestions predict_suggest"></div><div class="tt-dataset-products predict_related"></div></span></span>
            
            <input type="hidden" name="dept" value="Womens">
            <input type="hidden" name="searchFormTabID" id="searchFormTabID" value="-1">
            
            <input class="search_submit" type="submit" value="Search" name="submit">
        </form>
    </div>
</div>
</div>
<div class="clear"></div>
<div class="rev_section_marker">
    <ul>
	
        <li class="current"><a href="woman.html">Woman</a></li>
        <li><a href="man.html">Man</a></li>
		<li><a href="kid.html">Kid</a></li>

    </ul>
</div>
<!-- .rev_section_marker -->
<div class="clear"></div>
</div>
<!-- rev_content -->
</div>
<!-- .rev_header -->

<div class="rev_container rev_search_tray">
    <div class="rev_content">
    </div>    
</div> <!-- .rev_search_tray -->

<nav class="main_navigation">
   
<div class="nav_menu womens_nav">

	<ul>
		<li class="page_item first parent menu_spotlight"><a href="category.html">SPOTLIGHT</a>
	        <ul class="sub_menu womens_spotlight">

<div class="sub_wrap">
	<li>
	    <ol>
	        <li class="dd_main"><a href="category.html">TOP SELLER</a></li>
	        <li><a href="#">Jeans 1</a></li>
	        <li><a href="#">Jeans 2</a></li>
	        <li><a href="#">Jeans 3</a></li>
	    </ol>
	    <ol>
	        <li class="dd_main"><a href="category.html">MENU 2</a></li>
	        <li><a href="#">Sub menu 1</a></li>
	        <li><a href="#">Sub menu 2</a></li>
	        <li><a href="#">Sub menu 3</a></li>
	    </ol>
	    <ol>
	        <li class="dd_main"><a href="category.html">MENU 3</a></li>
	        <li><a href="#">Sub menu 1</a></li>
	        <li><a href="#">Sub menu 2</a></li>
	        <li><a href="#">Sub menu 3</a></li>
	    </ol>
	    <ol>
	        <li class="dd_main"><a href="category.html">MENU 4</a></li>
	        <li><a href="#">Sub menu 1</a></li>
	        <li><a href="#">Sub menu 2</a></li>
	        <li><a href="#">Sub menu 3</a></li>
	    </ol>

	     <div class="sub_feature_links">
	        <a href="#"><img alt="Revolve Clothing" src="img/spotlight_JadeneMunsun102014_dd_w.jpg"></a>
	        <a href="#"><img alt="Revolve Clothing" src="img/spotlight_lookbook092614_dd_w.jpg"></a>
	        <a href="#"><img alt="Revolve Clothing" src="img/spotlight_revolveme092614_dd_w.jpg"></a>
	        <a href="#" class="last"><img alt="Revolve Clothing" src="img/spotlight_designers090514_dd_w.jpg"></a>
	    </div>

	</li>
</div>


	        </ul>
	    </li>
	    <li class="page_item parent menu_new"><a href="category.html">DENIM</a>
			<ul class="sub_menu womens_new">
                <div class="sub_wrap">
                <li>
                	
		                <ol class="dd_main_image">
    <!-- EDIT HTML NEW START -->
    <li><a href="category.html"><img alt="Revolve Clothing" src="img/new_hotlist102714_dd_w.jpg"></a></li>
    <!-- EDIT HTML NEW END -->
</ol>
                    <ol>
                        <li class="dd_main"><a href="category.html">All Clothing</a></li>
                        <li><a href="category.html">Jeans</a></li>
                        <li><a href="category.html">Knee Short</a></li>
                    </ol>
                    <ol>
                        <li><a href="category.html">Skirt</a></li>
                        <li><a href="category.html">Jacket</a></li>
                        <li><a href="category.html">Short</a></li>
                    </ol>
                </li>
                </div><!-- .sub_wrap -->
			</ul>
		</li>
		<li class="page_item parent menu_new"><a href="category.html">NON-DENIM</a>
			<ul class="sub_menu womens_new">
                <div class="sub_wrap">
                <li>
                	
		                <ol class="dd_main_image">
    <!-- EDIT HTML NEW START -->
    <li><a href="category.html"><img alt="Revolve Clothing" src="img/new_hotlist102714_dd_w.jpg"></a></li>
    <!-- EDIT HTML NEW END -->
</ol>
                    <ol>
                        <li class="dd_main"><a href="category.html">All Clothing</a></li>
                        <li><a href="category.html">Jeans</a></li>
                        <li><a href="category.html">Knee Short</a></li>
                    </ol>
                    <ol>
                        <li><a href="category.html">Skirt</a></li>
                        <li><a href="category.html">Jacket</a></li>
                        <li><a href="category.html">Short</a></li>
                    </ol>
                </li>
                </div><!-- .sub_wrap -->
			</ul>
		</li>
	</ul>
	
</div>
 	

</nav>
<!-- start LOGIN HEADER & MYJEANS STAR SECTION-->

</header>
</div>
</div>
<div class="clear"></div>
<!-- //////////////////////////// Header - End //////////////////////////// -->
	
	

<!-- 	add contents here -->

<div class="rev_page">
			<!-- //////////////////////////// Content Wrap - Start //////////////////////////// -->

			


			<!-- PLP Brand Banner END -->


			<!-- Two Column -->
			<div class="rev_container rev_2col">
				<div class="rev_content">

					<!--Breadcrumbs-->
					<div class="rev_breadcrumb">
						
						<div itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="woman.html"><span itemprop="title">Woman</span></a></div> / <div itemprop="child" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="category.html"><span itemprop="title">Denim</span></a></div> / <div itemprop="child" itemscope="" itemtype="http://data-vocabulary.org/Breadcrumb"><a href="category.html"><span itemprop="title">All Clothing</span></a></div>
					</div>
					<!--Breadcrumbs END-->

<div class="rev_left_navigation">
		

	<div class="plp_filter_title">
		<div class="subtitle">Denim</div>
	</div>
	<div class="plp_filter_category_wrap">
		<ul class="plp_filter_ul">

		<li><a href="category.html">Jeans</a></li>
		<li><a href="category.html">Knee Short</a></li>
		<li><a href="category.html">Shorts</a></li>
		<li><a href="category.html">Skirt</a></li>
		<li><a href="category.html">Jacket</a></li>
		
        </ul>
	</div>
	
	<div class="plp_filter_title">
		<div class="subtitle">Non-Denim</div>
	</div>
	<div class="plp_filter_category_wrap">
		<ul class="plp_filter_ul">

		<li><a href="category.html">Pants</a></li>
		<li><a href="category.html">Knee Short</a></li>
		<li><a href="category.html">Shorts</a></li>
		<li><a href="category.html">Skirt</a></li>
		<li><a href="category.html">Shirt</a></li>
		<li><a href="category.html">T-Shirt</a></li>
		
        </ul>
	</div>
	
			<!-- BLOOMREACH START -->
			  <!--<div class="br_pdp_widget">-->


				<!-- CLEAR-->
				 <!--<div class="clear"></div>-->
				
			<!--</div>-->
			<!-- END BLOOMREACH DIV -->
		
		
		
</div>
<!-- .rev_left_navigation -->
					
					

					<div class="rev_main">
						<!-- PRODUCT LIST CONTENT STARTS HERE -->
						<div class="category_products">
							<div class="plp_main_title">
							<h1>ALL CLOTHING</h1>

							
							</div>
							
							<div class="plp_viewcount" id="view_options">
								<ul>
									<li class="three"><a class="three" href="javascript:viewThree();">3</a></li>
									<li class="four active"><a class="four active" href="javascript:viewFour();">4</a></li>
								</ul>
								
								<div class="filter_dd_link">View:</div>
							
							</div><!-- ppl_viewcount -->
							
							<div class="clear"></div>
						</div>



						<!--// quick view code //-->


						<div class="clear"></div>
						
						
						<div id="productsList">
						

			<style type="text/css">
	.plp_filter_apply{
		margin-right: 1px!important;
	}
	.product_items{
	width: 743px;
	}
    .product_items_richrelevance {
        width: 960px;
    }


    </style>
	

<div class="plp_pagination_toolbar">
	<div class="result_items">284 Items</div>
	

	<div class="view">


	<div class="result_pages"><ul><li><a class="active" href="category.html">1</a></li><li><a href="category.html">2</a></li><li><a href="category.html">3</a></li><li><a href="category.html">4</a></li><li><a href="category.html">5</a></li><li>...</li><li><a href="category.html">15</a></li></ul></div>
	</div>
	<div class="clear"></div>
</div>

<!--product list-->
						<ul class="product_items prod_view4">



                <script charset="utf-8" type="text/javascript">
                    var R3_COMMON = new r3_common();
                    R3_COMMON.setApiKey('7107cf020cfb3c32');
                    R3_COMMON.setBaseUrl(window.location.protocol+'//' + 'recs.richrelevance.com/rrserver/');
                    R3_COMMON.setClickthruServer(window.location.protocol+"//"+window.location.host);
                    R3_COMMON.setSessionId('2440EC4500B09484E9483CF4D4DCC7CD.galan_tomcat2');
                    R3_COMMON.setUserId('a22ff3a57a04118d594b7287ba74201c');

                    
                    var R3_CATEGORY = new r3_category();
R3_CATEGORY.setId('womens:allnewitems');
R3_CATEGORY.setName('All New Items');
R3_COMMON.addItemId('LOVF-WD293');
R3_COMMON.addItemId('TULA-WS25');
R3_COMMON.addItemId('LOVF-WQ42');
R3_COMMON.addItemId('TULA-WD29');
R3_COMMON.addItemId('TULA-WD33');
R3_COMMON.addItemId('LOVF-WQ43');
R3_COMMON.addItemId('TULA-WO5');
R3_COMMON.addItemId('SELF-WD16');
R3_COMMON.addItemId('FREE-WD603');
R3_COMMON.addItemId('TIBI-WS314');
R3_COMMON.addItemId('LSPA-WX206');
R3_COMMON.addItemId('SDRY-WS128');
R3_COMMON.addItemId('NATA-WL126');
R3_COMMON.addItemId('VTAX-WK54');
R3_COMMON.addItemId('NIGH-WD240');

                    $( document ).ready(function() {
                        
                                    rr_flush_onload();
                                    r3();
                                
                    });
                </script>
           
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
<!-- 							below style is required for quickView -->
							<li class="item" style="vertical-align:top;display:inline-block;position:relative;float:none;margin-right:-4px;" id="li_id_0">
								<div class="plp_prod_wrap">
									<a href="single.html">
										</a><div class="plp_image_wrap "><a href="single.html">
											<!--Heart-->
											
											</a><div id="plp_prod_wrap_LOVF-WD293"><a href="single.html">
											</a>
											</div>
											<div>
    											<a href="single.html">
                                                    
                                                    <img class="plp_prod_img" alt="Lovers + Friends Sydney Dress in Blush" src="img/category2/front.jpg" onMouseOver="MouseRollover(this)" onMouseOut="MouseOut(this)"style="width: 230px;height: 383px;">
                                                </a>
                                            </div>
										</div>
									     <a class="plp_text_link" href="single.html">
										<div class="product_name">
											<div class="title">JEANS</div>
										</div>
										<div class="designer_brand">
											<div class="subtitle">Original Jeans</div>
										</div>
										

										<div class="price_box">
											<span class="price"> ₫420.000</span>

										</div>
														</a>
										<div class="plp_color">

										</div>
										
										<input type="hidden" id="li_id_0_list" value="">
										<input type="hidden" id="li_id_0_imgs" value="img/category/LOVF-WD293_V1.jpg">
										<input type="hidden" id="li_id_0_pcode" value="LOVF-WD293">
					
								</div>
							</li>
							<!--END PRODUCT--><!--START product 0-->
					

				</ul>


<div id="quickViewDiv_temp" style="display:none;">
	<div class="plp_quickview_wrap" style="height:444px;">

		<a href="javascript:hideQuickView();" class="plp_qv_close"></a>

		<div class="plp_qv_image_wrap">
			<!--Heart-->

					<a href="javascript:;" onclick="heartProduct(this, &#39;BAIL-WD667&#39;); return false;" id="">
						<div class="plp_main_img_heart">
							<span>heart</span>
						</div>
					</a>
			<!--slideshow arrows-->
			<div class="plp_qv_arrows">
				<a class="plp_qv_left_aarrow" href="javascript:changeQViewImagePrev(5,'BAIL-WD667', 'http://is4.revolveclothing.com', '');">left</a>
				<a class="plp_qv_right_aarrow" href="javascript:changeQViewImageNext(5,'BAIL-WD667', 'http://is4.revolveclothing.com','');">right</a>
			</div><!--slideshow arrows END-->

	<!--  	   <img class="plp_prod_img" alt="product_name" src="i/plp_product_1.jpg">
	-->
		<img id="qViewPopupMainImage_temp" class="plp_prod_img" height="383" width="" alt="product_name" src="img/category/dot.png">

		</div>

		<div class="plp_quickview_right" style="visibility:hidden;">
		</div>

	 <!--// quick view code END //-->

		<div class="clear"></div>


	</div>

</div>


				<!--// PLP Pagination-->
				<div class="plp_pagination_wrap" style="width:500px;">
							<div class="result_pages"><ul><li><a class="active" href="category.html">1</a></li><li><a href="category.html">2</a></li><li><a href="category.html">3</a></li><li><a href="category.html">4</a></li><li><a href="category.html">5</a></li><li>...</li><li><a href="category.html">15</a></li></ul></div>
							<div class="clear"></div>





							<div class="next">

								<a href="category.html">Next</a>
							</div>




				</div>
				<!--// PLP Pagination END-->
<div class="clear"></div>
					<!-- BEGIN RELATED -->

					<!--// Back to top button //-->
					<div class="plp_back_top_btn" style="z-index: 9999; display: none; position: fixed; right: 99.5px; bottom: 25px;">
						<a href="javascript:scrollToTop();"> <span></span>TOP
						</a>
					</div>
					<!--// Back to top button //-->
					










				

						
						</div>


					<!-- </div> 
					
					rev_main ends here  -->




					<!--// Filter drop-downs include-->



					<!--// Filter drop-downs include END-->





					<!-- PRODUCT LIST CONTENT ENDS HERE -->

				</div> 
				<!-- .rev_main ......... it had already ended ... anand -->

				<div class="clear"></div>

			</div>
			<!-- .rev_content -->
		</div>
		<!-- .rev_container -->

		<!-- //////////////////////////// Content Wrap - End //////////////////////////// -->
	</div><!-- .rev_page -->
	<div class="push"></div>


<!-- 	add contents here -->
<div id="page_filters">
<input type="hidden" id="filterBrands" value=", ">
<input type="hidden" id="filterSize" value=", ">
<input type="hidden" id="filterSizeDenim" value=", ">
<input type="hidden" id="filterSizeShoes" value=", ">
<input type="hidden" id="filterColor" value=", ">
<input type="hidden" id="filterColorDenim" value=", ">
<input type="hidden" id="filterColorDenimWash" value=", ">
<input type="hidden" id="filterPriceMin" value="16.0">
<input type="hidden" id="filterPriceMax" value="3000.0">
<input type="hidden" id="filterPriceCurr" value="₫">
<input type="hidden" id="filterPriceCurrRate" value="21090.9">
</div>


	

	</div><!-- .rev_wrapper -->

	
		<!-- //////////////////////////// Footer - Start //////////////////////////// -->
	<footer class="rev_footer rev_footer">
		<div class="rev_container">
			<div class="rev_content footer_content">
				<div class="footer_one">
					<div class="title">Customer Care</div>
	                <ul class="footer_care">
						<li><a href="index.html">Contact Us</a></li>
						<li><a href="index.html">FAQs</a></li>
						
						<li><a href="index.html">Shipping &amp; Returns</a></li>
						
						<li><a href="index.html">Guarantee</a></li>
	                </ul>
	                <ul class="footer_care">
	                    <li><a href="index.html">Privacy Policy</a></li>
	                    <li><a href="index.html">Terms of Use</a></li>
	                    <li><a href="index.html">Feedback</a></li>
	                    <li><a href="index.html">Gift Certificates</a></li>
	                </ul>
	                <div class="clear"></div>
					<div class="footer_payments">

						<ul class="us_icons">

							<li class="f_cc_visa"></li>
							<li class="f_cc_mc"></li>
							<li class="f_cc_amex"></li>

							<li class="f_cc_jcb"></li>


							<li class="faq_paypal_icon2"></li>
						

						</ul>
					</div>
				</div>
				<div class="footer_two">
					<div class="title">Information</div>
					<ul class="footer_info"> 
						<li><a href="index.html">About Us</a></li>
						<li><a href="index.html">Careers</a></li>
	                    <!-- <li><a href="javascript:alert('Coming Soon....');">Careers</a></li> -->
	                    <li><a href="index.html">Affiliate</a></li>
	                </ul>
	                <ul class="footer_info"> 
	                    <li><a href="index.html">Press</a></li>
	                    <!-- <li><a href="javascript:alert('Coming Soon...');">Site Map</a></li> -->
	                </ul>
					<br class="clear">
					<div class="track_ship_area">


					</div><!-- track_ship_area -->
				</div>
				<div class="footer_three">
					<ul class="footer_connect">
						<div class="title">Connect</div>
						
							
							<li class="ftr_fb">
							
						       <a href="index.html" target="_blank" alt="Revolve Facebook">Facebook</a></li>
						    

								<li class="ftr_tw"><a href="index.html" target="_blank" alt="Revolve Twitter">Twitter</a></li>

								<li class="ftr_pn"><a href="index.html" target="_blank" alt="Revolve Pinterest">Pinterest</a></li>

									<li class="ftr_ig"><a href="index.html" target="_blank" alt="Revolve Instagram">Instagram</a></li>

								<li class="ftr_gg"><a href="index.html" target="_blank" alt="Revolve Google+">Google+</a></li>

                        
					</ul>
						
					<div class="footer_customercare">Customer Care:&nbsp;<span>090 771 5479</span></div>
					<div class="footer_myrev">
						<div class="title">Get in the Know!</div>
						
                        <form action="javascript:signUpEmail('Error, please try again!','newsletterEmail','F', 'en');">
                            <input id="newsletterEmail" type="text" value="Enter your e-mail for the latest in style." name="email" onclick="resetNewsletter(&#39;Enter your e-mail for the latest in style.&#39;,false,&#39;newsletterEmail&#39;);" onblur="resetNewsletter(&#39;Enter your e-mail for the latest in style.&#39;, true,&#39;newsletterEmail&#39;);" autocomplete="off">
                            <input class="submit" type="Submit" value="Submit" name="submit">
                        </form>
					</div>
					<!--<div class="clear"></div>-->
					<div class="footer_etrust2"><span></span>Jeans Star</div>
					<div class="clear"></div>
					<div class="footer_copyright">2014 All Rights Reserved.</div>
				</div>
				<div class="footer_bottom">
				</div>
				<div class="clear"></div>
			</div><!-- .footer_content -->
		</div><!-- .rev_container -->
	</footer><!-- .rev_footer -->
	<!-- //////////////////////////// Footer - End //////////////////////////// -->
 
	



<script type="text/javascript">
if(window.sessionStorage){
	if(typeof sessionStorage["tabID"] === "undefined"){
		var TS = new Date().getTime();
		sessionStorage["tabID"]=TS;
	}
// 	alert(sessionStorage["tabID"]);
}


var searchDepartmentScript = 'Womens';

function assignTabID()
{
	document.getElementById('searchFormTabID').value=sessionStorage["tabID"];	
}	

function validateSearchInput()
{
	assignTabID();
	return true;
}

</script>

<script src="img/category/ready.js"></script>



<div id="fb-root"></div>





<script type="text/javascript">

	function loadJSFile(filename, async) {
	    var fileref=document.createElement('script');
	    fileref.setAttribute("type","text/javascript");
	    fileref.setAttribute("src", filename);
	    if (async) {
	        fileref.setAttribute("async", "async");
	    }
	    if (typeof fileref!="undefined") {
			document.getElementsByTagName("head")[0].appendChild(fileref);
	    }
	}


    function getViewportInfo(){
        var width = window.innerWidth ||
                document.documentElement.clientWidth ||
                document.body.clientWidth;
        var height = window.innerHeight ||
                 document.documentElement.clientHeight ||
                 document.body.clientHeight;
        if (width != undefined && height != undefined){
            return '&w='+width+'&h='+height;
        } else {
            return '';
        }
    }

    function insertPageTrack() {
        var cartAmount = '0.0';
        var cartContent = '';
        var referrer = '/';
        var link = "/r/Brands.jsp";
        var query =  "?aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
        var uri = link + query + (window.location.hash != '' ? ('&page=' + window.location.hash.replace('#', '')) : '');
        var smsParams = '&dep=F' + '&boutique=' + '&newFlag=n' + '&section=d' + '&cat=' + escape("All New Items") + '&subsection=' + '&subcat=' + escape("") + '&subsubcat=' + escape("") + '&sortBy=newest' + '&maxProducts=100' + '&pageNum=1';
        $.ajax({
            url: 'PageTrack.jsp',
            data: "cC=" + escape(cartContent) + "&cT=" + escape(cartAmount) + "&r=" + escape(referrer) + "&u=" + escape(uri) + smsParams + getViewportInfo(),
            cache: false,
            success: function (msg) {
            }
        });
    }
    function insertPageTrackWithInfo(uriData) {
        insertPageTrackWithInfo(uriData, false);
    }
    function insertPageTrackWithInfo(uriData, dataIsFullURL) {
        var cartAmount = '0.0';
        var cartContent = '';
        var referrer = 'http://www.revolveclothing.com/';
        var uri;
        var link = "/r/Brands.jsp";
        var query = "?aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
        if (!dataIsFullURL)
            uri = link + query + (window.location.hash != '' ? ('&page=' + window.location.hash.replace('#', '')) : '') + "&" + uriData;
        else
            uri = uriData;
        var smsParams = '&dep=F' + '&boutique=' + '&newFlag=n' + '&section=d' + '&cat=' + escape("All New Items") + '&subsection=' + '&subcat=' + escape("") + '&subsubcat=' + escape("") + '&sortBy=newest' + '&maxProducts=100' + '&pageNum=1';

        $.ajax({
            url: 'PageTrack.jsp',
            data: "cC=" + escape(cartContent) + "&cT=" + escape(cartAmount) + "&r=" + escape(referrer) + "&u=" + escape(uri) + smsParams + getViewportInfo(),
            cache: false,
            success: function (msg) {
            }
        });
    }

    function insertPageTrackForColorChange(product, fromColor, toColor, defaultColor) {
        var cartAmount = '0.0';
        var cartContent = '';
        var referrer = 'http://www.revolveclothing.com/';
        var link = "/r/Brands.jsp";
        var query = "?aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
        var uri = link + query + (window.location.hash != '' ? ('&page=' + window.location.hash.replace('#', '')) : '');
        uri += "&Product=" + product + "&colorchng=&frmcolor=" + fromColor + "&tocolor=" + toColor + "&defaultColor=" + defaultColor;
        var smsParams = '&dep=F' + '&boutique=' + '&newFlag=n' + '&section=d' + '&cat=' + escape("All New Items") + '&subsection=' + '&subcat=' + escape("") + '&subsubcat=' + escape("") + '&sortBy=newest' + '&maxProducts=100' + '&pageNum=1';
        $.ajax({
            url: 'PageTrack.jsp',
            data: "cC=" + escape(cartContent) + "&cT=" + escape(cartAmount) + "&r=" + escape(referrer) + "&u=" + escape(uri) + smsParams + getViewportInfo(),
            cache: false,
            success: function (msg) {
            }
        });
    }

    function insertPageTrackForProductPosition(row, column, sort) {
        var cartAmount = '0.0';
        var cartContent = '';
        var referrer = '/';
        var link = "/r/Brands.jsp";
        var query = "?aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
        var uri = link + query + (window.location.hash != '' ? ('&page=' + window.location.hash.replace('#', '')) : '');
        var smsParams = '&dep=F' + '&boutique=' + '&newFlag=n' + '&section=d' + '&cat=' + escape("All New Items") + '&subsection=' + '&subcat=' + escape("") + '&subsubcat=' + escape("") + '&sortBy=newest' + '&maxProducts=100' + '&pageNum=1';
        $.ajax({
            url: 'PageTrack.jsp',
            data: "cC=" + escape(cartContent) + "&row=" + row + "&column=" + column + "&sort=" + sort + "&cT=" + escape(cartAmount) + "&r=" + escape(referrer) + "&u=" + escape(uri) + smsParams + getViewportInfo(),
            cache: false,
            success: function (msg) {
            }
        });
        window.location.href = url;
    }

    function insertPageTrackForQuickView(url) {
        var cartAmount = '0.0';
        var cartContent = '';
        var referrer = "http://www.revolveclothing.com/";
        var uri = url;
        var smsParams = '&dep=F' + '&boutique=' + '&newFlag=n' + '&section=d' + '&cat=' + escape("All New Items") + '&subsection=' + '&subcat=' + escape("") + '&subsubcat=' + escape("") + '&sortBy=newest' + '&maxProducts=100' + '&pageNum=1';
        $.ajax({
            url: 'PageTrack.jsp',
            data: "cC=" + escape(cartContent) + "&cT=" + escape(cartAmount) + "&r=" + escape(referrer) + "&u=" + escape(uri) + smsParams + getViewportInfo(),
            cache: false,
            success: function (msg) {
            }
        });
    }

    function insertPageTrackSlider(pageNum) {
        var cartAmount = '0.0';
        var cartContent = '';
        var referrer = "http://www.revolveclothing.com/";
        var link = "/r/Brands.jsp";
        var query = "?aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
        var uri = link + query;
        var smsParams = '&dep=F' + '&boutique=' + '&newFlag=n' + '&section=d' + '&cat=' + escape("All New Items") + '&subsection=' + '&subcat=' + escape("") + '&subsubcat=' + escape("") + '&sortBy=newest' + '&maxProducts=100' + '&pageNum=1';
        $.ajax({
            url: 'PageTrack.jsp',
            data: "cC=" + escape(cartContent) + "&cT=" + escape(cartAmount) + "&r=" + escape(referrer) + smsParams + "&u=" + escape(uri + "&page" + pageNum) + getViewportInfo(),
            cache: false,
            success: function (msg) {
            }
        });
    }


</script>

<script>
    
    function doReady() {
       // loadJSFile('http://is4.revolveclothing.com/r/js/ready.js', true);
        
       // loadJSFile('http://is4.revolveclothing.com/r/js/vendor/jquery.rating.pack.js', true);
       
       
	    
        
        insertPageTrack();
        
        $("#colorbox").addClass("colorbox");
        var link = "/r/Brands.jsp";
        var query = "?aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
        if (backButtonHit(link+query)){
            updateMiniBag();
        }
    }

    function doOnLoad() {

		
		insertConvertro();
		insertGoogleAnalytics();
		insertYandexMetrika();
		insertNaver();
		insertChannelAdvisor();
		insertFacebook();
		insertMarin();
		insertFitPredictor();
		insertViralNinjas();
		insertCriteo();
		insertGooglePlus();
		insertWeibo();
		insertNanigans();
		insertTellApart();
		insertBloomReach();
		insertVk();  // russian facebook

		

        
        var bodyID = document.getElementsByTagName("body")[0];
		var trackingNode = document.createElement("div");
		trackingNode.innerHTML = '<iframe style="display:none;" frameborder=0 width="1" height="1" src="ThirdParty.jsp"></iframe>';
		bodyID.appendChild(trackingNode);
        

    }

    $(document).ready(function(){
    	doReady();
    });
   
    $(window).load(function() {
        doOnLoad();
        if(typeof donOnLoad2 == 'function')
        { donOnLoad2(); }
  	});
</script>







<script>

	

	function insertGoogleAnalytics() {
		var pixelRatio = (window.devicePixelRatio >= 1.5) ? "high" : "normal";
		var _gaq = _gaq || [];
		_gaq.push(['_setAccount', 'UA-319064-1']);
		_gaq.push(['_setCustomVar', 3, 'Pixel Ratio', pixelRatio, 2 ]);
		_gaq.push(['_trackPageview']);

		(function () {
			var ga = document.createElement('script');
			ga.type = 'text/javascript';
			ga.async = true;
			ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
			var s = document.getElementsByTagName('script')[0];
			s.parentNode.insertBefore(ga, s);
		})();

		if (window.location.hostname == "www.revolveclothing.fr"
				|| window.location.hostname == "www.revolveclothing.es"
				|| window.location.hostname == "www.revolveclothing.ru"
				|| window.location.hostname == "www.revolveclothing.com.au"
				|| window.location.hostname == "www.revolveclothing.cn"
				|| window.location.hostname == "www.revolveclothing.com.br"
				|| window.location.hostname == "www.revolve.co.kr") {
			(function (i, s, o, g, r, a, m) {
				i['GoogleAnalyticsObject'] = r;
				i[r] = i[r] || function () {
					(i[r].q = i[r].q || []).push(arguments)
				}, i[r].l = 1 * new Date();
				a = s.createElement(o),
						m = s.getElementsByTagName(o)[0];
				a.async = 1;
				a.src = g;
				m.parentNode.insertBefore(a, m)
			})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
		}
		if (window.location.hostname == "www.revolveclothing.fr") {
			ga('create', 'UA-319064-12', 'revolveclothing.fr');
			ga('send', 'pageview');
		}
		else if (window.location.hostname == "www.revolveclothing.es") {
			ga('create', 'UA-319064-13', 'revolveclothing.es');
			ga('send', 'pageview');
		}
		else if (window.location.hostname == "www.revolveclothing.ru") {
			ga('create', 'UA-319064-14', 'revolveclothing.ru');
			ga('send', 'pageview');
		}
		else if (window.location.hostname == "www.revolveclothing.com.au") {
			ga('create', 'UA-319064-15', 'revolveclothing.com.au');
			ga('send', 'pageview');
		}
		else if (window.location.hostname == "www.revolveclothing.cn") {
			ga('create', 'UA-319064-16', 'revolveclothing.cn');
			ga('send', 'pageview');
		}
		else if (window.location.hostname == "www.revolveclothing.com.br") {
			ga('create', 'UA-319064-17', 'revolveclothing.com.br');
			ga('send', 'pageview');
		}
		else if (window.location.hostname == "www.revolve.co.kr") {
			ga('create', 'UA-319064-18', 'revolve.co.kr');
			ga('send', 'pageview');
		}
	}


	function insertConvertro() {

			loadJSFile('http://is4.revolveclothing.com/r/js/convertro.js', true);

	}

	function insertYandexMetrika() {

	}

	function insertNaver() {

	}

	function insertChannelAdvisor() {

	}

	function insertMarin() {
		var _marinClientId = "vxn6dlnn50";
		var _marinProto = (("https:" == document.location.protocol) ? "https://" : "http://");
		(function() {
			var mt  = document.createElement('script'); mt.type = 'text/javascript'; mt.async = true;
			var f = function(e){
				window.backupWrite = document.write;
				document.write = function(html){
					$(document.getElementsByTagName('script')[0].parentNode).append(html);
				};
				try{
					_marinTrack.trackPage();
				} catch (err){
					// alert('error with marin' + err);
				}
				document.write = window.backupWrite;
			};
			// Hack: support older IE versions (e.g., IE8)
			if (!mt.addEventListener){
				mt.attachEvent('onload', f);
			} else {
				mt.addEventListener('load', f, false);
			}
			mt.src = _marinProto + 'tracker.marinsm.com/tracker/' + _marinClientId + '.js';
			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(mt, s);
		})();
	}

	function insertFacebook() {

			if (typeof blockFB == 'undefined' || blockFB == false){
				(function (d, s, id) {
					var js, fjs = d.getElementsByTagName(s)[0];
					if (d.getElementById(id))
						return;
					js = d.createElement(s);
					js.id = id;
					js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
					fjs.parentNode.insertBefore(js, fjs);
				}(document, 'script', 'facebook-jssdk'));
			}

	}

	function insertFitPredictor() {

				//<!-- fit predictor production library -->
				//
				loadJSFile("http://dnmpbe216ptzf.cloudfront.net/revolve/fitpredictor.js");

	}

	function insertViralNinjas() {

			(function(){
				var s = document.createElement('script');
				s.type = 'text/javascript';
				s.async = true;
				s.defer = true;
				//s.src = 'https://tag.testing.viralninjas.com/revolve/von.js';
				//s.src = 'https://revolve.testing.viralninjas.com/static/singletag/von.js';// test
				s.src = 'https://revolve.viralninjas.com/static/singletag/von.js'; // production
				//s.src = 'https://tag.testing.viralninjas.com/revolve/von.js?runOnLoad=false';
				document.getElementsByTagName('head')
					[0].appendChild(s);
			})();

			/* if 'runOnLoad' parameter is set to false, App can run in external Javascript
			 function with : ViralNinjas.run(); */

	}

	function insertCriteo() {

	}

	function insertGooglePlus() {

	}

	function insertWeibo() {

	}

	function insertNanigans() {

	}


	function insertTellApart() {

	}

	function insertVk() {

	}

	function insertBloomReach() {

	}

</script>


<!-- yandex metrika noscript tracking -->
<noscript>&lt;div&gt;&lt;img src="//mc.yandex.ru/watch/24965960" style="position:absolute; left:-9999px;" alt="" /&gt;&lt;/div&gt;</noscript>

<!-- Marin noscript tracking -->
<noscript>&lt;img src="https://tracker.marinsm.com/tp?act=1&amp;cid=vxn6dlnn50&amp;script=no"&gt;</noscript>





































<!-- 	page specific javaScript here -->

	















<script type="text/javascript">
<!--

var goToPageOne = false;


var isForward = false;



function selectFilter(){
	// anchor element
	// filterType
	
	if(arguments.length < 2) return;
// 	alert(arguments.length);
	var elem = arguments[0];
	var elemType = arguments[1];
// 	alert("elem.nodeName="+elem.nodeName);
// 	alert("elem.nodeValue="+elem.nodeValue);
// 	alert("elem.nodeType"+elem.nodeType);
// 	alert("elem.getAttribute(class)="+elem.getAttribute("class"));
// 	alert("elem.getAttribute(className)"+elem.getAttribute("className"));
	
// 	alert("elem.id="+elem.id);
// 	alert("elem.text="+elem.text);
// 	alert("elem.value="+elem.value);
	
// 	alert(elemType);
	
	if(typeof elemType === "undefined") return;
	if(elemType==="size" || elemType.indexOf("size") != -1 ){
// 		alert(elem.id);
// 		alert(elemType);
// 		var size = elem.id.replace("filterSize", "");
		var size = getValueFromTagElement(elem, 'id', 'id');//elem.id;
// 		alert(size);
		var inputElem;
		if(elemType==="sizeDenim"){
			inputElem = document.getElementById("refine_size_denim");
			
		}else if (elemType==="sizeShoes"){
			inputElem = document.getElementById("refine_size_shoes");
			
		}else{
			inputElem = document.getElementById("refine_size");
			
		}
		
		if( wasElementSelected(elem) ){
			elem.className = "";
			if(inputElem.value.indexOf(size + ", ")!=-1){
				inputElem.value = inputElem.value.replace(size + ", ", "");
			}
		}else{
			elem.className = "active";
			if(inputElem.value.indexOf(size + ", ")==-1){
				inputElem.value += size + ", ";
			}
			
		}

		
	
	}else if(elemType==="brand"){
		var inputElem;
		var heartElem = document.getElementById("filter_heart_span_"+elem.text);
		var elemTextSet = getValueFromTagElement(elem, 'value', 'text');//elem.text;
// 		alert(elemTextSet);
		elemTextSet = encodeComma(elemTextSet);
// 		elemTextSet = escape(elemTextSet);
		if( wasElementSelected(elem) ){
			elem.className = "";
			inputElem = document.getElementById("refine_brand");
			if(inputElem.value.indexOf(elemTextSet + ", ")!=-1){
				inputElem.value = inputElem.value.replace(elemTextSet + ", ", "");
			}
//	 		alert(inputElem.value);
// 			if(typeof heartElem !== "undefined") heartElem.className = "designers_heart";
			
		}else{
			elem.className = "active";
			inputElem = document.getElementById("refine_brand");
			if(inputElem.value.indexOf(elemTextSet + ", ")==-1){
				inputElem.value += elemTextSet + ", ";
			}
//	 		alert(inputElem.value);
			if(heartElem){
// 				if(typeof heartElem !== "undefined" && heartElem) heartElem.className = "designers_hearted";
			}
			

		}
		
	}else if(elemType==="color" || elemType.indexOf("color") != -1){
// 		elem.className = "plp_active_color";
// 		refine_color
// 		refine_color_denim
		var color = elem.id;
		var inputElem;
		if(elemType === "colorD"){
			inputElem = document.getElementById("refine_color_denim");
		}else if(elemType === "colorDW"){
			inputElem = document.getElementById("refine_color_denimW");
		}else{
			inputElem = document.getElementById("refine_color");
		}
		
		
		if( wasElementSelected(elem, "plp_active_color") ){
			elem.className = "";
			if(inputElem.value.indexOf( color + ", ")!=-1){
				inputElem.value = inputElem.value.replace(color + ", ", "");
			}
		}else{
			elem.className = "plp_active_color";
			if(inputElem.value.indexOf(color + ", ")==-1){
				inputElem.value += color + ", ";
			}
			
		}
	}
}

function encodeComma(){
	var param = arguments[0];
	var regxcm = new RegExp(",", "gi");
	var ret = param.replace(regxcm, "commacomma");
	return ret;
	
}

function getValueFromTagElement(elem, forwardAttribute, revolveAttribute){
	if(isForward){
		if(forwardAttribute === 'text') return elem.text;
		else return elem.getAttribute(forwardAttribute);
	}
	else{
		if(revolveAttribute === 'text') return elem.text;
		return elem.getAttribute(revolveAttribute);
	}
}

function wasElementSelected(elem){
	var elementClassName = "active";
	if(typeof arguments[1] !== "undefined"){
		elementClassName = arguments[1];
	}
	if(isForward){
		if(!elem.checked) 
			return true;
		else 
			return false;
	}
	else{
		if(elem.className === elementClassName) 
			return true;
		else 
			return false;
	}
}

function submitFilter(){

	var submitAll = false;
	if(arguments.length < 1) return;
	var elemType = arguments[0];
	if(arguments.length > 1){
		submitAll = arguments[1];
		submitAllGlobal = submitAll;
	}
	submitAllGlobalStr = "";
	

	if(typeof elemType === "undefined") return;
	if(elemType==="brand" || submitAllGlobal ){
		var inputElem = document.getElementById("refine_brand");
// 		alert(inputElem.value);
		//alert("set value in session here="+inputElem.value);
		if(inputElem !== null){
			submitFilter3("brand", inputElem.value);
			submitFilter2("brand", inputElem.value);
		}
	//		reloadProductsList();
	
		
	}
	if(elemType==="size" || submitAllGlobal){
		var inputElem = document.getElementById("refine_size");
		var inputElem2 = document.getElementById("refine_size_denim");
		var inputElem3 = document.getElementById("refine_size_shoes");
		if(inputElem !==null && inputElem2 !==null && inputElem3 !== null){
			submitFilter3("size", inputElem.value, inputElem2.value, inputElem3.value);
			submitFilter2("size", trimParams(inputElem.value, "filterSize"), trimParams(inputElem2.value, "filterSize"), trimParams(inputElem3.value, "filterSize"));
		}
		// reloadProductsList will have encodeURIcomponent
// 		reloadProductsList();
		
	}
	if(elemType==="color" || submitAllGlobal){
		var inputElem = document.getElementById("refine_color");
		if(inputElem !==null){
			submitFilter3("color", inputElem.value);
			submitFilter2("color", trimParams(inputElem.value, "filterColor"));
		}


	}
	if(elemType === "colorD" || submitAllGlobal ){
		var inputElem = document.getElementById("refine_color_denim");
		var inputElem2 = document.getElementById("refine_color_denimW");
		if(inputElem !==null && inputElem2 !==null){
			submitFilter3("colorD", inputElem.value, inputElem2.value);
			submitFilter2("colorD", trimParams(inputElem.value, "filterColor"), trimParams(inputElem2.value, "filterColor"));
		}
	}
	if(elemType === "price" || submitAllGlobal){
		var inputElem = document.getElementById("amount");
// 		alert(inputElem.value);
		if(inputElem !== null){
			var range = inputElem.value;
			var rangeArr = range.split(" - ");
//	 		var minValue = rangeArr[0].substring(1);
//	 		var maxValue = rangeArr[1].substring(1);
			var minValue = rangeArr[0];
			var maxValue = rangeArr[1];
//	 		alert(minValue);
//	 		alert(maxValue);
			submitFilter3("price", minValue/priceSliderCurrRate , maxValue/priceSliderCurrRate);
			submitFilter2("price", minValue/priceSliderCurrRate, maxValue/priceSliderCurrRate);
		}



	}
	
	setHashParam("filter", "true");
	if(window.location.hash.indexOf("filter/true") > 0){
	 	reloadProductsList();
	}
	if(goToPageOne)	window.location = '/new/all-new-items/br/7f5946/?&pageNum=1';
	
}


function submitFilter3(filterType, filterValue){
	var fullIndexNameFunc = 'F-n-d----==>All New Items';
	var persistLeftNavs = false;
	if(!enableReload) persistLeftNavs = true;
	if(typeof filterType ==="undefined" || typeof filterValue ==="undefined" ) return;
	
	if(filterType === "brand"){
		setInputTag("filterBrands", filterValue);
		if(window.sessionStorage && persistLeftNavs){
			sessionStorage[fullIndexNameFunc+"=>"+"filterBrands"] = filterValue;
		}
	}else if(filterType === "size"){
		if(typeof arguments[2] === "undefined" || typeof arguments[3] === "undefined" ) return;
		filterValue = trimParams(filterValue, "filterSize");
		arguments[2] = trimParams(arguments[2], "filterSize");
		arguments[3] = trimParams(arguments[3], "filterSize");
		setInputTag("filterSize", filterValue);
		setInputTag("filterSizeDenim", arguments[2]);
		setInputTag("filterSizeShoes", arguments[3]);
		if(window.sessionStorage && persistLeftNavs){
			sessionStorage[fullIndexNameFunc+"=>"+"filterSize"] = filterValue;
			sessionStorage[fullIndexNameFunc+"=>"+"filterSizeDenim"] = arguments[2];
			sessionStorage[fullIndexNameFunc+"=>"+"filterSizeShoes"] = arguments[3];
		}
	}else if(filterType === "color"){
		filterValue = trimParams(filterValue, "filterColor");
		setInputTag("filterColor", filterValue);
		if(window.sessionStorage && persistLeftNavs){
			sessionStorage[fullIndexNameFunc+"=>"+"filterColor"] = filterValue;
		}
	}else if(filterType === "colorD"){
		if(typeof arguments[2] === "undefined") return;
		filterValue = trimParams(filterValue, "filterColor");
		arguments[2] = trimParams(arguments[2], "filterColor");
		setInputTag("filterColorDenim", filterValue);
		setInputTag("filterColorDenimWash", arguments[2]);
		if(window.sessionStorage && persistLeftNavs){
			sessionStorage[fullIndexNameFunc+"=>"+"filterColorDenim"] = filterValue;
			sessionStorage[fullIndexNameFunc+"=>"+"filterColorDenimWash"] = arguments[2];
		}
		
	}else if (filterType === "price"){
		if(typeof arguments[2] === "undefined") return;
		setInputTag("filterPriceMin", filterValue);
		setInputTag("filterPriceMax", arguments[2]);
		if(window.sessionStorage && persistLeftNavs){
			sessionStorage[fullIndexNameFunc+"=>"+"filterPriceMin"] = filterValue;
			sessionStorage[fullIndexNameFunc+"=>"+"filterPriceMax"] = arguments[2];
		}
		
	}
	
}

var submitAllGlobal = true;
var submitAllGlobalStr = "";
if(isForward) submitAllGlobal = false;

function submitFilter2(filterType, filterValue){

	if(typeof filterType ==="undefined" || typeof filterValue ==="undefined" ) return;
	
	if (window.XMLHttpRequest){
		// for IE7+, FF, Chrome, Opera, Safari
		xhttp2 = new XMLHttpRequest();
	}
	else{
		// for IE6 and older
		xhttp2 = new ActiveXObject("Microsoft.XMLHTTP");
	}
	var URL = "/r/ajaxProductFilter.jsp?";

	var dataToSend="";
	dataToSend += "&index="+encodeURIComponent('F-n-d----==>All New Items');
	if(filterType === "clear")	{
		dataToSend += "&clear=true";
	}
	else if(filterType === "brand")	{
		dataToSend += "&fb="+encodeURIComponent(filterValue);
	}else if(filterType === "size"){
		if(typeof arguments[2] === "undefined" || typeof arguments[3] === "undefined" ) return;
		dataToSend += "&fs="+encodeURIComponent(filterValue);
		dataToSend += "&fsd="+encodeURIComponent(arguments[2]);
		dataToSend += "&fss="+encodeURIComponent(arguments[3]);
	}else if(filterType === "color"){
		dataToSend += "&fc="+encodeURIComponent(filterValue);
	}else if(filterType === "colorD"){
		if(typeof arguments[2] === "undefined") return;
		dataToSend += "&fcd="+encodeURIComponent(filterValue);
		dataToSend += "&fcdw="+encodeURIComponent(arguments[2]);
	}else if(filterType === "price"){
		if(typeof arguments[2] === "undefined") return;
		dataToSend += "&pmin="+encodeURIComponent(filterValue);
		dataToSend += "&pmax="+encodeURIComponent(arguments[2]);
		
	}
	
	if(window.sessionStorage){dataToSend += "&tabID="+sessionStorage["tabID"];}
	
	if(submitAllGlobal) {
		submitAllGlobalStr += dataToSend;
	}
	
// 	alert(dataToSend);
	
	if(!submitAllGlobalStr || filterType === "price"){
//	 	xhttp2.open(method, URL, async);
		console.log("submitFilter2="+URL+dataToSend);
		xhttp2.open("POST", URL, false); // async
		xhttp2.setRequestHeader("Content-type","application/x-www-form-urlencoded"); // this is needed
		if(!submitAllGlobalStr) xhttp2.send(dataToSend);
		else xhttp2.send(submitAllGlobalStr);
		var res = xhttp2.responseText;
//	 	alert("jsp response="+res);
		res = res.replace(/^\s+|\s+$/g,"");
//	  	alert("jsp response="+res);
	}
	
}

function setInputTag(tagName, tagValue){
// 	alert(tagName);alert(tagValue);
	var SITinputElem = document.getElementById(tagName);
	if(typeof SITinputElem === "undefined") return;
	else{
		SITinputElem.value = tagValue;
	}
}

function trimParams(param, trimStr){
	if(typeof param === "undefined" || typeof trimStr === "undefined"  ) return;
	var pattern = new RegExp(trimStr,'gi');
	param = param.replace(pattern, "");
	return param;

}


function setHashParam(name, value){

// 	var name = 'brand';
// 	var value = 'green';
// 	var ohash = '#/category/pink/';
	var oLocation = window.location;
	var pattern = new RegExp('/'+name+'/([^/]+)','i');
	var nhash = '';
	var ohash = oLocation.hash;
// 	console.log(pattern);
// 	console.log(pattern.test(hash));
	if(pattern.test(ohash)){
	    nhash = ohash.replace(pattern,'/'+name+'/'+value);
// 	    console.log(hash);
	}else{
	    if(ohash.indexOf('/', ohash.length -1) !== -1 ){
// 	        console.log('ends with /')
	        nhash = ohash + name+'/'+value;
	    }else{
// 	        console.log('NOT ends with /')
	        nhash = ohash + '/'+name+'/'+value;
	    }
	}
	oLocation.hash = nhash;
}


var rpcLoadingDiv;
var rpcLoadingDivParent;

function ie6() {
	return (!window.XMLHttpRequest);
}

function showLoading() {
	if (!document.getElementById('rpcLoadingDiv')) { //only show loading if not already showing
		rpcLoadingDivParent = document.body;
		rpcLoadingDiv = document.createElement('div');
		rpcLoadingDiv.setAttribute('id', 'rpcLoadingDiv');
		rpcLoadingDiv.style.position = ie6() ? 'absolute' : 'fixed';
		rpcLoadingDiv.style.width ="100%";
		rpcLoadingDiv.style.height ="100%";
		rpcLoadingDiv.style.textAlign='center';
		rpcLoadingDiv.style.verticalAlign='middle';
		rpcLoadingDiv.style.top='300px';
		rpcLoadingDiv.style.left='0px';
		rpcLoadingDiv.style.zIndex=100001;
		rpcLoadingDiv.innerHTML = "<img src='/r/ajax-loader-black-trans.gif' />";
		rpcLoadingDivParent.appendChild(rpcLoadingDiv);
		rpcLoadingDivParent.style.visibility='visible';	
	}	
}
function hideLoading() {
		rpcLoadingDivParent.removeChild(rpcLoadingDiv);
}

var debug = false;
var prevPageNum = 1;
//var prevSortBy = "newest";
var prevSortBy = "";
// var prevFilterActive = false;
var filterHashParam = false;
var passTabId = true;

function reloadProductsList(){
	showLoading();
	var pageNum = 1;
	var sortBy = prevSortBy;
// 	var filterActive = prevFilterActive;
	if(arguments.length > 0 && typeof arguments[0]!=="undefined" ){
		pageNum = arguments[0];
// 		if(debug) alert("pageNum="+pageNum);
	}
	if(arguments.length > 1 && typeof arguments[1]!=="undefined"){
		sortBy = arguments[1];
	}
// 	if(arguments.length > 2 && typeof arguments[2]!=="undefined"){
// 		filterActive = arguments[2];
// 	}
	
	if (window.XMLHttpRequest){
		// for IE7+, FF, Chrome, Opera, Safari
		xhttp2 = new XMLHttpRequest();
	}
	else{
		// for IE6 and older
		xhttp2 = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	var filterB = document.getElementById("filterBrands").value;

	var filterS = document.getElementById("filterSize").value;
	var filterSD = document.getElementById("filterSizeDenim").value;
	var filterSS = document.getElementById("filterSizeShoes").value;

	var filterC = document.getElementById("filterColor").value;
	
	var filterCD = document.getElementById("filterColorDenim").value;
	var filterCDW = document.getElementById("filterColorDenimWash").value;

	var URL = "/r/products.jsp?"+"aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
	if(isForward)
		URL = "/f/products.jsp?"+"aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
		
// 	var URL = "/r/products.jsp";
// 	URL += "&pageNum="+pageNum;
// 	URL += "&sortBy="+sortBy;
// 	URL += "&filterB="+filterB;
// 	URL += "&filterS="+filterS;
// 	URL += "&filterSD="+filterSD;
// 	URL += "&filterSS="+filterSS;
// 	URL += "&filterC="+filterC;
// 	URL += "&filterCD="+filterCD;
// 	URL += "&filterCDW="+filterCDW;

// 	alert("&pageNum="+pageNum);
// 	var dataToSend = "";
 	var dataToSend="aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items"; 
	dataToSend += "&pageNum="+pageNum;
	dataToSend += "&sortBy="+sortBy;
	dataToSend += "&filterB="+filterB;
	dataToSend += "&filterS="+filterS;
	dataToSend += "&filterSD="+filterSD;
	dataToSend += "&filterSS="+filterSS;
	dataToSend += "&filterC="+filterC;
	dataToSend += "&filterCD="+filterCD;
	dataToSend += "&filterCDW="+filterCDW;
// 	dataToSend += "&filterActive="+filterActive;
// 	alert("inside reloadProductsList::"+filterHashParam);
	if(window.sessionStorage  && filterHashParam ){dataToSend += "&tabID="+sessionStorage["tabID"];}
	if(window.sessionStorage && passTabId && filterHashParam){dataToSend += "&passTabId=true"; }
	
// 	alert(dataToSend);

// 	xhttp2.open(method, URL, async); 
// 	alert(URL);
// 	if(isForward){
// 		hideLoading();
// 		alert(URL);
// 		return;
// 	}
	console.log("url="+URL);

	xhttp2.open("POST", URL, false); // async
	xhttp2.setRequestHeader("Content-type","application/x-www-form-urlencoded"); // this is needed
	xhttp2.send(dataToSend);
	var res = xhttp2.responseText;
// 	alert("jsp response="+res);
	res = res.replace(/^\s+|\s+$/g,"");
// 	alert("jsp response="+res);
	hideLoading();
	document.getElementById("productsList").innerHTML = res;
	
	if(!isForward){
		var priceMinElem = document.getElementById("filterPriceMin");
		var priceMaxElem = document.getElementById("filterPriceMax");
		if(typeof priceMinElem !== "undefined" && typeof priceMaxElem !== "undefined" ){
	// 		alert(priceMinElem.value+", "+priceMaxElem.value);
			reInitPriceSlider(priceSliderMinValue, priceSliderMaxValue, priceMinElem.value, priceMaxElem.value );
		}
		
		// get product list column status from cookie
		var prodColum = getCookie("prodColum");
		if (prodColum == 3) {
			viewThree();
		} else {
			viewFour();
		}
	}
	
}


function clearFilter(){

	if(arguments.length < 1) return;
	var elemType = arguments[0];

	if(typeof elemType === "undefined") return;
	if(elemType==="size"){
		var sizes = document.getElementById("refine_size_ul");
		var sizesD = document.getElementById("refine_sizeD_ul");
		var sizesS = document.getElementById("refine_sizeS_ul");
		
		var sizesArr = new Array(sizes, sizesD, sizesS);
		
		if(!isForward){
			for(var k=0; k< sizesArr.length; k++){
				clearChildNodes(sizesArr[k].id, function(elem){ elem.className=""; } );
			}
		}

		var inputElem = document.getElementById("refine_size");
		inputElem.value = "";
		inputElem = document.getElementById("refine_size_denim");
		inputElem.value = "";
		inputElem = document.getElementById("refine_size_shoes");
		inputElem.value = "";
		submitFilter('size');

		
		
	}else if(elemType==="brand"){
		unSelectBrands();
		var inputElem = document.getElementById("refine_brand");
		inputElem.value = "";
		submitFilter('brand');
		
	}else if(elemType==="color"){
		if(!isForward) clearChildNodes("refine_color_ul", function(elem){ elem.className = ""; } );
		var inputElem = document.getElementById("refine_color");
		inputElem.value = "";
		submitFilter('color');

	}else if(elemType === "colorD"){
		
		var sizes = document.getElementById("refine_color_denimW_ul");
		var sizesD = document.getElementById("refine_color_denim_ul");
		
		var sizesArr = new Array(sizes, sizesD);
		if(!isForward){
			for(var k=0; k< sizesArr.length; k++){
				clearChildNodes( sizesArr[k].id, function(elem){elem.className = "";} );
			}
		}
		
		var inputElem = document.getElementById("refine_color_denimW");
		inputElem.value = "";
		inputElem = document.getElementById("refine_color_denim");
		inputElem.value = "";
		submitFilter('colorD');


	}

	
}

function clearChildNodes(elemID, func){
	var brands = document.getElementById(elemID);
	for(var i=0; i<brands.childNodes.length; i++){
		var bn = brands.childNodes[i];
// 		alert(i+"=="+bn.nodeType+", "+bn.nodeName+", "+bn.tagName );
 		for(var j=0; j< bn.childNodes.length; j++){
 			var bn2 = bn.childNodes[j];
//			console.log("j="+j+"=="+bn2.nodeType+", "+bn2.nodeName+", "+bn2.tagName+", "+bn2.className+", "+bn2.id );
	 		switch(bn2.nodeType){
			case 3:
			   //text Node
//				console.log('text node');
			   break;
			case 1:
			   //Element node (anchor)
//			   	bn2.className="";
// 			   	bn2.checked = false;
				func(bn2);
//				console.log('element node');
			   break;
			default:
			    //break;
			}
 		}
	} // end for loop

}

function unSelectBrands(){
	if(isForward){
		clearChildNodes("refine_brands_ul", function (elem){elem.checked = false;} );
	}else{
		clearChildNodes("refine_brands_ul", function (elem){elem.className = "";} );
	}
// 	alert('done clearing');
}



function funcHashChanged(){

	var oLocation = window.location;
	var ohash = oLocation.hash;
		if(document.URL.indexOf("tabID") < 0 && window.location.hash.indexOf("filter/true") < 0 
 				&& document.getElementById("isFilterResultProducts")!==null ) {
 			filterHashParam = false;
 			showLoading();
 			console.log("calling reload inside funcHashChanged");
 			reloadProductsList();
 		}

// 	alert(ohash);
// 	ohash = "#/category/aquamarine/brand/blue/red";
	//console.log(ohash);
	if(ohash.indexOf("#/")===0) ohash = ohash.substring(2);
	//console.log(ohash);
	var ohashSplit=ohash.split("/");
	//console.log(ohashSplit.length);
	var hNames = new Array();
	var hValues = {};
	for(var i=0; i < ohashSplit.length; i++) {
	    //console.log(ohashSplit[i]);
	    if(ohashSplit[i] === "#") continue;
	    if(typeof ohashSplit[i] !== "undefined" && typeof ohashSplit[i+1] !== "undefined"){
	        var name = ohashSplit[i];
	        var value = ohashSplit[i+1];
	        hNames.push(name);
	        hValues[name]=value;
	        i++;
	    }

	}

	for(var i=0; i< hNames.length; i++){
	    //console.log(hNames[i] + "=" + hValues[hNames[i]]);
		processHashParam(hNames[i], hValues[hNames[i]]);
	}
	
}

function setSortBy(){
	if(arguments.length < 1 || typeof arguments[0] === "undefined") return;
	var sortOption = arguments[0];
// 	alert(sortOption);
	setHashParam("sortBy", sortOption);
}





//-->
</script>



<script type="text/javascript">
if(window.sessionStorage){
	if(typeof sessionStorage["tabID"] === "undefined"){
		var TS = new Date().getTime();
		sessionStorage["tabID"]=TS;
	}
// 	alert(sessionStorage["tabID"]);
}


if ("onhashchange" in window) {
    //alert("The browser supports the hashchange event!");
	window.addEventListener("hashchange", funcHashChanged, false);
}

numViewsHash = {};
preloadQVDImagesCache = {};
isUnisexImgValidHash = {};
var enableReload = false;
var isMyFavPage = false;
prevSortBy = "featured";
var qviewDept = "";
numViewsHash['MARC-WY460'] = 5;
numViewsHash['TULA-WD33'] = 4;
numViewsHash['HAUT-WR5'] = 3;
numViewsHash['SELF-WD16'] = 4;
numViewsHash['SELF-WD18'] = 6;
numViewsHash['HBEL-WD15'] = 4;
numViewsHash['FEEL-WK86'] = 4;
numViewsHash['FEEL-WK85'] = 4;
numViewsHash['FLYN-WD45'] = 3;
numViewsHash['LVMS-WY3'] = 5;
numViewsHash['NATA-WL126'] = 3;
numViewsHash['SANC-WS246'] = 3;
numViewsHash['MINK-WS194'] = 4;
numViewsHash['ABAT-WS35'] = 3;
numViewsHash['FREE-WD767'] = 4;
numViewsHash['UNIX-WO40'] = 4;
numViewsHash['MARC-WY471'] = 5;
numViewsHash['MARC-WY472'] = 5;
numViewsHash['JUNE-WO30'] = 5;
numViewsHash['TULA-WD29'] = 5;
numViewsHash['SCOL-WR6'] = 4;
numViewsHash['WINS-WS8'] = 3;
numViewsHash['PKER-WD520'] = 4;
numViewsHash['FLM-WY6'] = 5;
numViewsHash['DRES-WD59'] = 5;
numViewsHash['CLOV-WO48'] = 3;
numViewsHash['CLOV-WD196'] = 4;
numViewsHash['TIAR-WS24'] = 3;
numViewsHash['WILD-WS643'] = 3;
numViewsHash['ALI-WD357'] = 4;
numViewsHash['WILD-WK154'] = 3;
numViewsHash['WILD-WS640'] = 3;
numViewsHash['LANS-WD124'] = 5;
numViewsHash['BAIL-WD823'] = 4;
numViewsHash['BBDA-WS299'] = 3;
numViewsHash['ESSE-WK6'] = 3;
numViewsHash['SMAD-WZ107'] = 5;
numViewsHash['SANC-WK55'] = 3;
numViewsHash['PKER-WD540'] = 5;
numViewsHash['BBDA-WS295'] = 4;
numViewsHash['PKER-WD537'] = 5;
numViewsHash['27MR-WK6'] = 3;
numViewsHash['27MR-WK4'] = 3;
numViewsHash['PKER-WD538'] = 4;
numViewsHash['SCOL-WS38'] = 3;
numViewsHash['TULA-WS25'] = 3;
numViewsHash['WINS-WS11'] = 3;
numViewsHash['MARC-WY459'] = 5;
numViewsHash['NOEU-WI20'] = 5;
numViewsHash['MARC-WY458'] = 5;
numViewsHash['NIGH-WS102'] = 4;
numViewsHash['SAME-WS3'] = 4;
numViewsHash['DRA-WD12'] = 4;
numViewsHash['DRA-WD13'] = 4;
numViewsHash['EAND-WD274'] = 4;
numViewsHash['TULA-WO5'] = 4;
numViewsHash['RAGX-WD8'] = 4;
numViewsHash['DONN-WD175'] = 4;
numViewsHash['DONN-WD176'] = 4;
numViewsHash['BHAL-WD740'] = 4;
numViewsHash['BARD-WQ17'] = 3;
numViewsHash['LSPA-WD34'] = 3;
numViewsHash['LSPA-WR3'] = 4;
numViewsHash['LSPA-WD33'] = 4;
numViewsHash['HBEL-WR5'] = 3;
numViewsHash['HBEL-WS9'] = 4;
numViewsHash['TOLA-WD71'] = 4;
numViewsHash['LOVF-WQ42'] = 4;
numViewsHash['LOVF-WQ43'] = 4;
numViewsHash['NEWB-WZ15'] = 5;
numViewsHash['SAND-WD116'] = 4;
numViewsHash['DONN-WD166'] = 4;
numViewsHash['DONN-WD165'] = 4;
numViewsHash['LOVF-WD293'] = 3;
numViewsHash['TBYA-WS498'] = 3;
numViewsHash['VTAX-WK63'] = 3;
numViewsHash['TIBI-WS314'] = 3;
numViewsHash['WINS-WD11'] = 3;
numViewsHash['MUUB-WO166'] = 7;
numViewsHash['FREE-WS1158'] = 5;
numViewsHash['JARL-WD112'] = 3;
numViewsHash['LUCC-WD85'] = 4;
numViewsHash['SDRY-WS128'] = 3;
numViewsHash['LSPA-WX206'] = 4;
numViewsHash['NIGH-WD242'] = 4;
numViewsHash['NIGH-WD241'] = 4;
numViewsHash['BLUE-WS529'] = 3;
numViewsHash['MARC-WY483'] = 5;
numViewsHash['NIGH-WD240'] = 4;
numViewsHash['MARC-WY482'] = 5;
numViewsHash['TOLA-WD121'] = 4;
numViewsHash['FREE-WD603'] = 4;
numViewsHash['VTAX-WK54'] = 3;
numViewsHash['INDA-WD306'] = 4;
numViewsHash['VELVET-WO306'] = 3;
numViewsHash['LIV-WS12'] = 4;
numViewsHash['INDA-WD307'] = 4;
numViewsHash['LAMA-WR11'] = 3;
numViewsHash['DOMA-WO62'] = 5;
numViewsHash['AMAN-WS337'] = 4;
numViewsHash['BECA-WD142'] = 4;
numViewsHash['MARK-WK52'] = 4;
numViewsHash['JENF-WQ3'] = 3;
numViewsHash['ABAT-WD76'] = 4;
numViewsHash['SANC-WO146'] = 5;
numViewsHash['JKYR-WP1'] = 4;
numViewsHash['CMAN-WI81'] = 2;
isUnisexImgValidHash['MARC-WY460']=false;
isUnisexImgValidHash['TULA-WD33']=false;
isUnisexImgValidHash['HAUT-WR5']=false;
isUnisexImgValidHash['SELF-WD16']=false;
isUnisexImgValidHash['SELF-WD18']=false;
isUnisexImgValidHash['HBEL-WD15']=false;
isUnisexImgValidHash['FEEL-WK86']=false;
isUnisexImgValidHash['FEEL-WK85']=false;
isUnisexImgValidHash['FLYN-WD45']=false;
isUnisexImgValidHash['LVMS-WY3']=false;
isUnisexImgValidHash['NATA-WL126']=false;
isUnisexImgValidHash['SANC-WS246']=false;
isUnisexImgValidHash['MINK-WS194']=false;
isUnisexImgValidHash['ABAT-WS35']=false;
isUnisexImgValidHash['FREE-WD767']=false;
isUnisexImgValidHash['UNIX-WO40']=false;
isUnisexImgValidHash['MARC-WY471']=false;
isUnisexImgValidHash['MARC-WY472']=false;
isUnisexImgValidHash['JUNE-WO30']=false;
isUnisexImgValidHash['TULA-WD29']=false;
isUnisexImgValidHash['SCOL-WR6']=false;
isUnisexImgValidHash['WINS-WS8']=false;
isUnisexImgValidHash['PKER-WD520']=false;
isUnisexImgValidHash['FLM-WY6']=false;
isUnisexImgValidHash['DRES-WD59']=false;
isUnisexImgValidHash['CLOV-WO48']=false;
isUnisexImgValidHash['CLOV-WD196']=false;
isUnisexImgValidHash['TIAR-WS24']=false;
isUnisexImgValidHash['WILD-WS643']=false;
isUnisexImgValidHash['ALI-WD357']=false;
isUnisexImgValidHash['WILD-WK154']=false;
isUnisexImgValidHash['WILD-WS640']=false;
isUnisexImgValidHash['LANS-WD124']=false;
isUnisexImgValidHash['BAIL-WD823']=false;
isUnisexImgValidHash['BBDA-WS299']=false;
isUnisexImgValidHash['ESSE-WK6']=false;
isUnisexImgValidHash['SMAD-WZ107']=false;
isUnisexImgValidHash['SANC-WK55']=false;
isUnisexImgValidHash['PKER-WD540']=false;
isUnisexImgValidHash['BBDA-WS295']=false;
isUnisexImgValidHash['PKER-WD537']=false;
isUnisexImgValidHash['27MR-WK6']=false;
isUnisexImgValidHash['27MR-WK4']=false;
isUnisexImgValidHash['PKER-WD538']=false;
isUnisexImgValidHash['SCOL-WS38']=false;
isUnisexImgValidHash['TULA-WS25']=false;
isUnisexImgValidHash['WINS-WS11']=false;
isUnisexImgValidHash['MARC-WY459']=false;
isUnisexImgValidHash['NOEU-WI20']=false;
isUnisexImgValidHash['MARC-WY458']=false;
isUnisexImgValidHash['NIGH-WS102']=false;
isUnisexImgValidHash['SAME-WS3']=false;
isUnisexImgValidHash['DRA-WD12']=false;
isUnisexImgValidHash['DRA-WD13']=false;
isUnisexImgValidHash['EAND-WD274']=false;
isUnisexImgValidHash['TULA-WO5']=false;
isUnisexImgValidHash['RAGX-WD8']=false;
isUnisexImgValidHash['DONN-WD175']=false;
isUnisexImgValidHash['DONN-WD176']=false;
isUnisexImgValidHash['BHAL-WD740']=false;
isUnisexImgValidHash['BARD-WQ17']=false;
isUnisexImgValidHash['LSPA-WD34']=false;
isUnisexImgValidHash['LSPA-WR3']=false;
isUnisexImgValidHash['LSPA-WD33']=false;
isUnisexImgValidHash['HBEL-WR5']=false;
isUnisexImgValidHash['HBEL-WS9']=false;
isUnisexImgValidHash['TOLA-WD71']=false;
isUnisexImgValidHash['LOVF-WQ42']=false;
isUnisexImgValidHash['LOVF-WQ43']=false;
isUnisexImgValidHash['NEWB-WZ15']=false;
isUnisexImgValidHash['SAND-WD116']=false;
isUnisexImgValidHash['DONN-WD166']=false;
isUnisexImgValidHash['DONN-WD165']=false;
isUnisexImgValidHash['LOVF-WD293']=false;
isUnisexImgValidHash['TBYA-WS498']=false;
isUnisexImgValidHash['VTAX-WK63']=false;
isUnisexImgValidHash['TIBI-WS314']=false;
isUnisexImgValidHash['WINS-WD11']=false;
isUnisexImgValidHash['MUUB-WO166']=false;
isUnisexImgValidHash['FREE-WS1158']=false;
isUnisexImgValidHash['JARL-WD112']=false;
isUnisexImgValidHash['LUCC-WD85']=false;
isUnisexImgValidHash['SDRY-WS128']=false;
isUnisexImgValidHash['LSPA-WX206']=false;
isUnisexImgValidHash['NIGH-WD242']=false;
isUnisexImgValidHash['NIGH-WD241']=false;
isUnisexImgValidHash['BLUE-WS529']=false;
isUnisexImgValidHash['MARC-WY483']=false;
isUnisexImgValidHash['NIGH-WD240']=false;
isUnisexImgValidHash['MARC-WY482']=false;
isUnisexImgValidHash['TOLA-WD121']=false;
isUnisexImgValidHash['FREE-WD603']=false;
isUnisexImgValidHash['VTAX-WK54']=false;
isUnisexImgValidHash['INDA-WD306']=false;
isUnisexImgValidHash['VELVET-WO306']=false;
isUnisexImgValidHash['LIV-WS12']=false;
isUnisexImgValidHash['INDA-WD307']=false;
isUnisexImgValidHash['LAMA-WR11']=false;
isUnisexImgValidHash['DOMA-WO62']=false;
isUnisexImgValidHash['AMAN-WS337']=false;
isUnisexImgValidHash['BECA-WD142']=false;
isUnisexImgValidHash['MARK-WK52']=false;
isUnisexImgValidHash['JENF-WQ3']=false;
isUnisexImgValidHash['ABAT-WD76']=false;
isUnisexImgValidHash['SANC-WO146']=false;
isUnisexImgValidHash['JKYR-WP1']=false;
isUnisexImgValidHash['CMAN-WI81']=false;

var prevPageSize = 96;

var fullIndexName = "F-n-d----==>All New Items";
// alert("fullIndexName="+fullIndexName);
var priceSliderMinValue = 16.0;
var priceSliderMaxValue = 3000.0;

var priceSliderCurr = document.getElementById('filterPriceCurr').value;
var priceSliderCurrRate = document.getElementById('filterPriceCurrRate').value;
// alert("priceSliderCurr=="+priceSliderCurrRate);

// var filterHashParam = false;
// if Brands.jsp is refreshed
funcHashChanged();

reInitPriceSlider(priceSliderMinValue, priceSliderMaxValue, 16.0, 3000.0);



var sessid = new Array("filterBrands", "filterSize", "filterSizeDenim", "filterSizeShoes", "filterColor", "filterColorDenim", "filterColorDenimWash"
		, "filterPriceMin", "filterPriceMax");

// var passTabId = true;
if(!enableReload) clearSessionStorage();
if(window.sessionStorage && checkIfAnySessID()){
//  	if(enableReload){
 		if(document.URL.indexOf("tabID") < 0 && window.location.hash.indexOf("filter/true") > 0 ){
//  			alert("reloadProductsList here in sessionStorage");
//  			reloadProductsList();
 		}
 		
/*  	} */
}


// funcHashChanged


function processHashParam(name, value){
// 	if(debug)	alert("inside processHashParam("+name +", "+value+")");
// 	console.log("inside processHashParam("+name +", "+value+")");
 	
	
	if(name==="page"){
		var pageNum=value;
		if(prevPageNum === pageNum) {
			if(debug) alert("prevPageSize === pageSize");
		}
		else{ 
			prevPageNum = pageNum;
			reloadProductsList(value);
		}
	}
	else if(name==="sortBy" && document.URL.indexOf("MyFavorite.jsp?favorite=true") >= 0){
				prevSortBy = value;
		
		reloadProductsListFavorite(prevSortBy, value);
		
		if(goToPageOne)	window.location = '/new/all-new-items/br/7f5946/?&pageNum=1';
			helper();
	}
	else if(name==="sortBy" && typeof value!=="undefined"){
		if(prevSortBy === value){
			if(debug) alert("same sort option");
		}else{
			prevSortBy = value;
			reloadProductsList(prevPageNum, value);
			if(goToPageOne)	window.location = '/new/all-new-items/br/7f5946/?&pageNum=1';
		}
		
	}
	else if(name==="filter" && value==="true"){
// 		alert("setting filterHashParam and reloadProductsList inside processHashParam");
		filterHashParam = true;
		reloadProductsList();
// 		prevFilterActive = (value === 'true');
// 		reloadProductsList(prevPageNum, prevSortBy, prevFilterActive);
	}
	
// 	alert(prevPageNum);
// 	alert(prevSortBy);
	

}


function helper()
   {
   			  
		      var head= document.getElementsByTagName('body')[0];
		      
		    
		      var script= document.createElement('script');
		      script.type= 'text/javascript';
		      script.src= 'js/dragdropjs.js';
		      head.appendChild(script);
   }


//setHashParam


function setPageSize100(){
	setCookie("pageSizeAll", false, 1000);
	setPageSize(100);
}

function setPageSize500(){
	setCookie("pageSizeAll", false, 1000);
	setPageSize();
}

function setPageSizeAll(){
	setCookie("pageSizeAll", true, 1000);
	setPageSize();
}




function setPageSize(){
	console.log("inside setPageSize");
	if(!isMyFavPage){
		console.log("inside setPageSize.... show loading");
		showLoading();
	}
	var pageSize = 500;
	if(typeof arguments[0] !== "undefined"){
		pageSize = 100;
	}
	if(debug) alert(pageSize);
	if(debug) alert(prevPageSize);
	
	if(prevPageSize === pageSize) {
		if(debug) alert("prevPageSize === pageSize");
		hideLoading();
		return;
		}
	else prevPageSize = pageSize;
	
	if(debug) alert("here");
	
	setCookie("pageSize", pageSize, 1000);
	
	if(isMyFavPage){
		
        reloadProductsListFavorite();
    }else{
	reloadProductsList();
    }
	
	
// 	if(pageSize === 100)	reInitPriceSlider(0, 500, 10, 100);
// 	else reInitPriceSlider(0, 500, 50, 500);
	
	setPageNum(1);
	
	hideLoading();
}



function setPageNum(){
	if(!isMyFavPage){
	showLoading();
	}
	var pageNum = 1;
	if(typeof arguments[0] !== "undefined"){
		pageNum = arguments[0];
	}
// 	if(debug)	alert("pageNum="+pageNum);
// 	console.log("pageNum="+pageNum);
	
	if(prevPageNum === pageNum) {
		if(debug) alert("prevPageSize === pageSize");
		return;
		}
	else prevPageNum = pageNum;
	
	setHashParam("page", pageNum);
// 	hideLoading();
}


// setSortBy





// hack to clear pref page filters
// submitFilter2("clear", "");
// hack for heartCount & back button
// heart item info is in Pageprams, don't need to call twice
//updateHeartCount();

// reloadProductsList

function reloadProductsListFavorite(){
	showLoading();
	var pageNum = 1;
	

	var sortBy = prevSortBy;
	
	if(arguments.length > 0 && typeof arguments[0]!=="undefined" ){

		pageNum = arguments[0];
// 		if(debug) alert("pageNum="+pageNum);
	}


	if(arguments.length > 1 && typeof arguments[1]!=="undefined"){
		sortBy = arguments[1];
	}
// 	if(arguments.length > 2 && typeof arguments[2]!=="undefined"){
// 		filterActive = arguments[2];
// 	}
	
	if (window.XMLHttpRequest){
		// for IE7+, FF, Chrome, Opera, Safari
		xhttp2 = new XMLHttpRequest();
	}
	else{
		// for IE6 and older
		xhttp2 = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	
//	var filterB = document.getElementById("filterBrands").value;
//
//	var filterS = document.getElementById("filterSize").value;
//	var filterSD = document.getElementById("filterSizeDenim").value;
//	var filterSS = document.getElementById("filterSizeShoes").value;
//
//	var filterC = document.getElementById("filterColor").value;
//	
//	var filterCD = document.getElementById("filterColorDenim").value;
//	var filterCDW = document.getElementById("filterColorDenimWash").value;

	var URL = "/r/products.jsp?"+"&n=n&s=d&c=All+New+Items&aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items";
// 	var URL = "/r/products.jsp";
// 	URL += "&pageNum="+pageNum;
 	//URL += "&sortBy="+sortBy;
// 	URL += "&filterB="+filterB;
// 	URL += "&filterS="+filterS;
// 	URL += "&filterSD="+filterSD;
// 	URL += "&filterSS="+filterSS;
// 	URL += "&filterC="+filterC;
// 	URL += "&filterCD="+filterCD;
// 	URL += "&filterCDW="+filterCDW;

	
// 	var dataToSend = "";
 	var dataToSend="&n=n&s=d&c=All+New+Items&aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items"; 
	dataToSend += "&pageNum="+pageNum;
	if(sortBy!=null && sortBy!=''){
	
		dataToSend += "&sortBy="+sortBy;
	}else{
	dataToSend += "&sortBy=MOSTRECENTLYADDED";
	}
	//dataToSend += "&pageNum="+pageNum;
	//dataToSend += "&sortBy="+sortBy;
//	dataToSend += "&filterB="+filterB;
//	dataToSend += "&filterS="+filterS;
//	dataToSend += "&filterSD="+filterSD;
//	dataToSend += "&filterSS="+filterSS;
//	dataToSend += "&filterC="+filterC;
//	dataToSend += "&filterCD="+filterCD;
//	dataToSend += "&filterCDW="+filterCDW;
	if(window.sessionStorage){dataToSend += "&tabID="+sessionStorage["tabID"];}
	
// 	alert(dataToSend);

// 	xhttp2.open(method, URL, async); 
// 	alert(URL);
	xhttp2.open("POST", URL, false); // async
	xhttp2.setRequestHeader("Content-type","application/x-www-form-urlencoded"); // this is needed
	xhttp2.send(dataToSend);
	var res = xhttp2.responseText;
// 	alert("jsp response="+res);
	res = res.replace(/^\s+|\s+$/g,"");
// 	alert("jsp response="+res);
	hideLoading();
	document.getElementById("productsList").innerHTML = res;

	
}

function reloadMyFavoriteShoppingBag(){
	//showLoading();

	if (window.XMLHttpRequest){
		// for IE7+, FF, Chrome, Opera, Safari
		xhttp2 = new XMLHttpRequest();
	}
	else{ 
		// for IE6 and older
		xhttp2 = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	var URL = "/r/MyFavoriteShoppingBag.jsp";
	
	var dataToSend="&n=n&s=d&c=All+New+Items&aliasURL=new/all-new-items/br/7f5946&&navsrc=subnew&&n=n&s=d&c=All+New+Items"; 

	if(window.sessionStorage){dataToSend += "&tabID="+sessionStorage["tabID"];}

	
// 	alert(dataToSend);

// 	xhttp2.open(method, URL, async); 
 	//alert(URL);
	xhttp2.open("POST", URL, false); // async
	xhttp2.setRequestHeader("Content-type","application/x-www-form-urlencoded"); // this is needed
	xhttp2.send(dataToSend);
	
	var res = xhttp2.responseText;
//	alert("jsp response="+res);
	res = res.replace(/^\s+|\s+$/g,"");
	//alert("jsp response="+res);
	hideLoading();
	document.getElementById("mr_bag").innerHTML = res;

	
}



function removeQuickViewDivP(){
	var code = arguments[0];
	var pdivName = "quickViewDiv"+"_"+code;
	var quickViewDiv = document.getElementById(pdivName);
	quickViewDiv.parentNode.removeChild(quickViewDiv);
	
}

function setQuickViewDivP(){
// 	console.log('start ajax call');
	var code = arguments[0];
	if(tempCode) code = 'ali-wd278';
	var idNum = arguments[1];
	var rowNum = arguments[2];
	var callSetQVD = false;
	if(typeof arguments[3] !== 'undefined')	callSetQVD = arguments[3];
	var preloadImgfromDiv = false;
	if(typeof arguments[4] !== 'undefined') preloadImgfromDiv = arguments[4];
	
	//alert(code);
	//alert(idNum);
	var idName = "li_id_"+idNum;
	var pdivName = "quickViewDiv"+"_"+code;
	var pdivElem = document.getElementById(pdivName);
	if(pdivElem === null){
// 		alert("make ajax call");
			if (window.XMLHttpRequest){
				// for IE7+, FF, Chrome, Opera, Safari
				xhttp2 = new XMLHttpRequest();
			}
			else{
				// for IE6 and older
				xhttp2 = new ActiveXObject("Microsoft.XMLHTTP");
			}
			
			xhttp2.onload = function (e) {
			  if (xhttp2.readyState === 4) {
			    if (xhttp2.status === 200) {
// 					console.log(xhttp2.responseText);
					var res = xhttp2.responseText;
					//alert("jsp response="+res);
					res = res.replace(/^\s+|\s+$/g,"");
// 					console.log(res);
					//alert("jsp response="+res);
					
					var pqvd = document.createElement('div');
					pqvd.setAttribute("id", pdivName);
					pqvd.innerHTML = res;
					pqvd.style.display ="none";
					$('#'+idName).after(pqvd);
					if(callSetQVD) setQuickViewDiv(code, rowNum);
					if(preloadImgfromDiv) preloadQVDImagesfromDiv(code);
					setArrowKey(code);

			    } else {
			      console.error(xhttp2.statusText);
			    }
			  }
			};
			xhttp2.onerror = function (e) {
			  console.error(xhttp2.statusText);
			};
			
			var URL = "/r/QuickViewPopup.jsp";
			var dataToSend="";
			dataToSend+="&product="+escape(code);
			dataToSend+="&itemNum="+escape(idNum);
			dataToSend+="&rowNum="+escape(rowNum);
			dataToSend+="&d="+escape(qviewDept);
			
			//xhttp2.open(method, URL, async); 
			xhttp2.open("POST", URL, true); // async
			xhttp2.setRequestHeader("Content-type","application/x-www-form-urlencoded"); // this is needed
			xhttp2.send(dataToSend);
	}
	else{
// 		alert("do not make ajax call");

	}
// 	console.log('DONE ajax call');

}

var isQVopen = false;
var QVcode = "";
var QVrow = 0;

var tempCode = false;

function setQuickViewDiv(){
	var code = arguments[0];
	var rowNum = arguments[1];
	if(tempCode) code = 'ali-wd278';
	var pdivName = "quickViewDiv"+"_"+code;
	var res = document.getElementById(pdivName).innerHTML;
	var qvd = document.getElementById("quickViewDiv"+"_"+rowNum);
	qvd.innerHTML = res;
	QVcode = code;
	
	removeQuickViewDivP(code);
}

function setQuickViewDivTemp(){
// 	alert('inside temp');
	var code = arguments[0];
	if(tempCode) code = 'ali-wd278';
	var idNum = arguments[1];
	var rowNum = arguments[2];
// 	var delim = "==";
// 	alert(code+delim+idNum+delim+rowNum);

	var tempDivName = "quickViewDiv_temp";
	var tempInner = document.getElementById(tempDivName).innerHTML;
// 	console.log(tempInner);
	var pattern = new RegExp("_temp",'gi');
	tempInner = tempInner.replace(pattern, "_"+rowNum);
// 	console.log(tempInner);
	var pcodePattern = new RegExp("BAIL-WD667", "gi");
// 	console.log(tempInner);
	tempInner = tempInner.replace(pcodePattern, code);
// 	console.log(tempInner);
	var currentQVD = document.getElementById("quickViewDiv_"+rowNum);
	currentQVD.innerHTML = tempInner;
}


function setQVDTempImages(){
	var code = arguments[0];
	var idNum = arguments[1];
	var rowNum = arguments[2];
	var onlyPreloadQVDimg = false;
	if(typeof arguments[3] != 'undefined') onlyPreloadQVDimg = arguments[3];
	
	var imageTagid = "qViewPopupMainImage_"+rowNum;
	var imageTag = document.getElementById(imageTagid);
	var QVDimagePath = document.getElementById("li_id_"+idNum+"_imgs").value;
	if(!onlyPreloadQVDimg) imageTag.setAttribute("src", QVDimagePath);
// 	var QVDcode = document.getElementById("li_id_"+idNum+"_pcode").value;
// 	preloadQVDImages(QVDcode, QVDimagePath);
	preloadQVDImages(code, QVDimagePath);
	
}


function preloadQVDImagesfromDiv(){
	var pcode=arguments[0];
	var numImgs = document.getElementById("qvd_maxViews_"+pcode).value;
	var imagePath = document.getElementById("qvd_imgPath_"+pcode).value;
	var pattern = new RegExp("_V1",'gi');
	for(var i=1; i<=numImgs; i++){
		var imagePath_i = imagePath.replace(pattern, "_V"+i);
		var image_i = new Image();
		image_i.src = imagePath_i;
// 		console.log("preloadQVDImagesfromDiv:"+imagePath_i);
		preloadQVDImagesCache[pcode+"_V"+i] = image_i;
	}
}

function preloadQVDImages(){
	var pcode = arguments[0];
	var imagePath = arguments[1];
	var pattern = new RegExp("_V1",'gi');
	var imagePaths = new Array();

	var numImgs = numViewsHash[pcode];
	if(typeof numImgs === 'undefined') numImgs = 4;
// 	console.log(numImgs);
// 	console.log(imagePath);
	var imagePathDefault = imagePath;
// 	var imgNameRgex = new RegExp("/([^/]+_V1.jpg)", "i");
// 	if(imagePath.indexOf(pcode)==-1){
// 		// to run only when showQV clicked from QV
// 		console.log("doesnt contain");
// 		var pcodeimg = pcode;
// 		pcodeimg = pcode + "";
// 		imagePathDefault = imagePath.replace(imgNameRgex, "/"+pcodeimg+"_V1.jpg");
// 	}
// 	console.log(imagePathDefault);
	imagePaths.push(imagePathDefault);
// 	var unisexSelect = ( typeof isUnisexImgValidHash[pcode] === 'undefined')? true:isUnisexImgValidHash[pcode];
// 	if(pcode.indexOf("-U") > 0 && unisexSelect){
// 		console.log("unisex product");
// 		var pcodeimgF = pcode + "";
// 		var imagePathF = imagePath.replace(imgNameRgex, "/"+pcodeimgF+"_V1.jpg");
// 		imagePaths.push(imagePathF);
// 		var pcodeimgM = pcode + "M";
// 		var imagePathM = imagePath.replace(imgNameRgex, "/"+pcodeimgM+"_V1.jpg");
// 		imagePaths.push(imagePathM);
// 	}

	
	
	
	for(var j=0; j<imagePaths.length; j++){
// 		console.log(imagePaths[j]);
		for(var i=1; i<=numImgs; i++){
			var imagePath_i = imagePaths[j].replace(pattern, "_V"+i);
// 			console.log(imagePath_i);
			var image_i = new Image();
			image_i.src = imagePath_i;
			preloadQVDImagesCache[j+"::"+pcode+"_V"+i] = image_i;
//	 		console.log("preloading ["+pcode+"_V"+i+"] = "+image_i.src);
			
		}
	}
	
}

var QVeval = "";

function showQuickView(){
	
	var code = arguments[0];
	if(tempCode) code = 'ali-wd278';
	var idNum = arguments[1];
	var rowNum = arguments[2];
	
	if(QVrow === rowNum){
		if(isQVopen && QVcode === code){
			// to toggle show/hide
			hideQuickView();
		}
		else if(isQVopen && QVcode !== code){
			// swap with another product
// 			setQuickViewDivP(code, idNum, rowNum);
// 			setQuickViewDiv(code, rowNum);
			
			// do not show temp img ... comment below line
// 			setQuickViewDivTemp(code, idNum, rowNum);
// 			var onlyPreloadQVDimg = true;
// 			setQVDTempImages(code, idNum, rowNum, onlyPreloadQVDimg);
			var preloadImgfromDiv = true;
			setQuickViewDivP(code, idNum, rowNum, true, preloadImgfromDiv);
			
		}
		else{
			showQuickView2(code, idNum, rowNum);
		}
	}
	else{
		if(isQVopen) {
// 			var qvStartOpen = 400;
// 			var qvCloseInterval = 300;
// 			if(QVrow > rowNum){
// 				qvCloseInterval = 5;
// 				qvStartOpen = 5;
// // 				QVdelayCorrection = false;
// 			}
// 			else {
// 				qvStartOpen = 0;
// 				qvCloseInterval = 500;
// 			}
// 			console.log("1:"+ new Date().getTime());
// 			hideQuickView(QVrow, qvCloseInterval);
// 			QVeval = "hideQuickView("+QVrow+", "+qvCloseInterval+")";
// 			setTimeout(function(){showQuickView2(code, idNum, rowNum);}, qvStartOpen);
			
			hideQuickView(QVrow, 300);
			setTimeout(function(){showQuickView2(code, idNum, rowNum);}, 400);

			
		}
		else{
			showQuickView2(code, idNum, rowNum);
		}
		
	}
	QVrow = rowNum;
}

function showQuickView2(){
// 	alert('showQuickView');
	//alert(arguments[0]);
	var code = arguments[0];
	if(tempCode) code = 'ali-wd278';
	var idNum = arguments[1];
	var rowNum = arguments[2];
	var callSetQVD = true;
	//alert(code);
	//alert(idNum);
// 	console.log('making ajax call');
// 	setQuickViewDivP(code, idNum, rowNum);
	setTimeout(function(){setQuickViewDivP(code, idNum, rowNum, callSetQVD);}, 1);
// 	console.log('got back from ajax call');
	var idName = "li_id_"+idNum;
	
// 	var pdivName = "quickViewDiv"+"_"+code;
// 	var res = document.getElementById(pdivName).innerHTML;
	
	var divName = "quickViewDiv"+"_"+rowNum;
	var isDivPresent = document.getElementById(divName);

	var quickViewDiv = document.createElement('div');
	if(isDivPresent ===null){
		quickViewDiv.setAttribute('id', divName);
//	 	quickViewDiv.innerHTML = res;
		quickViewDiv.style.height="0px";
		quickViewDiv.style.width="725px";
		quickViewDiv.style.overflow="hidden";
//		quickViewDiv.style.visibility="hidden";
		quickViewDiv.style.display ="block";
		quickViewDiv.style.position ="relative";
		quickViewDiv.style.cssFloat ="left";
		$('#'+idName).after(quickViewDiv);
	}
	setQuickViewDivTemp(code, idNum, rowNum);
	setQVDTempImages(code, idNum, rowNum);

// 	var windowWidth = document.documentElement.clientWidth;
	var windowHeight = document.documentElement.clientHeight;
// 	alert(windowWidth +"=" + windowHeight);
// 448 => 455 => 475
	var delayCorrection = 0;
	if(isQVopen) delayCorrection = 475;
	var htToScroll = 332+(parseInt(rowNum)-1)*522-(windowHeight-475)+100;
	htToScroll = $("#"+divName).offset().top - windowHeight;
	var currScrollTop = $(document).scrollTop();
	var doScroll = true;
//	console.log("current:"+(currScrollTop));
//	console.log("reqd:"+(htToScroll+475));
// 	console.log("2:"+ new Date().getTime());

	if((currScrollTop + delayCorrection)>(htToScroll+475)) doScroll = false;
// 	alert(doScroll);

// 	alert(htToScroll);
// 	alert($("#"+divName).offset().top);
// 	$( "html, body" ).animate({ scrollTop: $("#"+divName).offset().top }, "slow" );
	// 482 * rowNum + 500
	
// 	console.log(QVeval);
// 	eval(QVeval);
	
	// need to scroll first for safari
	if(isSafari){
		doScroll = false;
		if(htToScroll + 475 > $(document).scrollTop())
			$( "html, body" ).animate({ scrollTop: htToScroll + 475 }, 500 );	
	}

	$("#"+divName).animate({
        height:["475px", "swing"]
        },{
        	duration:500,
        	step: function( now, fx ) {
//         	    var data = fx.elem.id + " " + fx.prop + ": " + now;
// 				var data = anim+"="+prog+"="+rem;
//         	    console.log(data);
				if(doScroll && (htToScroll + now) > $(document).scrollTop() )  $( "html, body" ).animate({ scrollTop: htToScroll + now }, 1 );
        	  },
        	complete:function(){
	        	isQVopen = true;
        	}
        }
     );
 	
// 	quickViewDiv.style.display ="inline";
// 	quickViewDiv.style.width="100%";
//  	alert("now open");
//  	$("#quickViewDiv").animate({height:'100%'},5000);
//  	$("#quickViewDiv").slideToggle("slow");
	 	
	 	
}


function hideQuickView(){
	var rowNum = QVrow;
	if(typeof arguments[0] !== "undefined"){
		rowNum = arguments[0];
	}
	var closeTime = 300;
	if(typeof arguments[1] !== "undefined"){
		closeTime = arguments[1];
	}
// 	alert(closeTime);
	
//  	var quickViewDiv = document.getElementById("quickViewDiv");
 	$("#quickViewDiv"+"_"+rowNum).animate({
        height:["0px", "swing"]
        },closeTime, function() { 
//  	 	quickViewDiv.parentNode.removeChild(quickViewDiv);
			isQVopen = false;
 		}
        );
//  	setTimeout(function() { 
//  	 	quickViewDiv.parentNode.removeChild(quickViewDiv);
//  		}, 2000);

	leftArrowKey = "";
	rightArrowKey = "";
}

function setCookie(c_name,value,exdays)
{
	var exdate=new Date();
	exdate.setDate(exdate.getDate() + exdays);
	var c_value=escape(value); 
	var c_expires = ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
	var c_path = "; path=/";
	if(debug) alert(c_name + "=" + c_value);
	document.cookie=c_name + "=" + c_value + c_expires + c_path;
}

function getCookie(cname){
	var name = cname + "=";
	var ca = document.cookie.split(';');
	for(var i=0; i<ca.length; i++){
		var c = ca[i].trim();
		if (c.indexOf(name)==0) return c.substring(name.length,c.length);
	}
	return "";
}

function reInitPriceSlider(){
	var min = 0;
	var max = 1000;
	var left = 0;
	var right = 1000;
	var priceSliderCurrFunc = priceSliderCurr;
	priceSliderCurrFunc = "";
	if(arguments.length===2){
		min = Math.floor(arguments[0] * priceSliderCurrRate);
		max = Math.ceil(arguments[1] * priceSliderCurrRate);
	}else if (arguments.length===4){
		min = Math.floor(arguments[0] * priceSliderCurrRate);
		max = Math.ceil(arguments[1] * priceSliderCurrRate);
		left = Math.floor(arguments[2] * priceSliderCurrRate);
		right = Math.ceil(arguments[3] * priceSliderCurrRate);
		
	} 
// 	alert(min);
// 	alert(max);
// 	alert(left);
// 	alert(right);
	
	$(function() {
		$("#slider-range").slider({
			range : true,
			min : min, // left most
			max : max, // right most
			values : [ left, right ], // left & right selection
			slide : function(event, ui) {
				$("#amount").val(priceSliderCurrFunc + ui.values[0] + " - "+priceSliderCurrFunc	+ ui.values[1]);
			}
		});
		$("#amount").val(priceSliderCurrFunc + $("#slider-range").slider("values", 0) + " - "
				+priceSliderCurrFunc+ $("#slider-range").slider("values", 1));
	});
}



function swapProduct(){
	if(arguments.length < 5) return;
	var idName = arguments[0];
	var codeNum = arguments[1];
	var codeNum2 = arguments[2];
	var itemNum = arguments[3];
	var rowNum = arguments[4];
	var dept = arguments[5];
	if(debug) alert(idName);
	if(debug) alert(codeNum);
	var plist = document.getElementById(idName+"_list");
	if(typeof plist === "undefined") return;
	var plistVal = plist.value;
	
	if (window.XMLHttpRequest){
		// for IE7+, FF, Chrome, Opera, Safari
		xhttp2 = new XMLHttpRequest();
	}
	else{
		// for IE6 and older
		xhttp2 = new ActiveXObject("Microsoft.XMLHTTP");
	}
	var URL = "/r/products.jsp?";
// 	URL += "&productCode="+codeNum;
// 	URL += "&productCode2="+codeNum2;
// 	URL += "&id_Name="+idName;
// 	URL += "&plist="+encodeURIComponent(plistVal);
// 	alert(URL);

	var dataToSend="";
	dataToSend += "&productCode="+codeNum;
	dataToSend += "&productCode2="+codeNum2;
	dataToSend += "&id_Name="+idName;
	dataToSend += "&plist="+encodeURIComponent(plistVal);
	dataToSend += "&itemNum="+itemNum;
	dataToSend += "&rowNum="+rowNum;
	dataToSend += "&d="+dept;
	
	
// 	xhttp2.open(method, URL, async); 
	xhttp2.open("POST", URL, false); // async
	xhttp2.setRequestHeader("Content-type","application/x-www-form-urlencoded"); // this is needed
	xhttp2.send(dataToSend);
	var res = xhttp2.responseText;
// 	alert("jsp response="+res);
	res = res.replace(/^\s+|\s+$/g,"");
 	//alert("jsp response="+res);
 	res = res.substring(res.indexOf('<div class="plp_prod_wrap">', 0));
 	res = res.substring(0, res.lastIndexOf('</li>'));
//  	alert("jsp response="+res);
	document.getElementById(idName).innerHTML = res;
	
	
	
}





//var submitAllGlobal = true;
//var submitAllGlobalStr = "";


//setInputTag
//trimParams

// submitFilter3
// submitFilter2


//clearFilter



if(window.sessionStorage){
	for(var i=0; i< sessid.length; i++){
		if(typeof sessionStorage[fullIndexName+"=>"+sessid[i]] !== "undefined"){
			setInputTag(sessid[i], sessionStorage[fullIndexName+"=>"+sessid[i]]);
		}
	}
	
	if(typeof sessionStorage[fullIndexName+"=>"+"filterPriceMin"] !== "undefined" && typeof sessionStorage[fullIndexName+"=>"+"filterPriceMax"] !== "undefined")
	reInitPriceSlider(priceSliderMinValue, priceSliderMaxValue, sessionStorage[fullIndexName+"=>"+"filterPriceMin"], sessionStorage[fullIndexName+"=>"+"filterPriceMax"] );
		
}



function clearSessionStorage(){
	for(var i=0; i<sessionStorage.length;i++){
		var key = sessionStorage.key(i);
		var val = sessionStorage.getItem(key);
// 		alert(key+"=>"+val);
		if(key.indexOf(fullIndexName) === -1 && key.indexOf("tabID") === -1 ){
			sessionStorage.removeItem(key);
// 			alert("removing::"+key+"=>"+val);
		}
		
	}
	
}

function checkIfAnySessID(){
	for(var i=0; i< sessid.length; i++){
		if(typeof sessionStorage[fullIndexName+"=>"+sessid[i]] !== "undefined" && sessionStorage[fullIndexName+"=>"+sessid[i]] !==""){
			return true;
		}
	}
	
	return false;
}

function setSortDisplayVal(val){

	 document.getElementById("pdp_sortby_box_val").innerHTML = val;
}

function heartBrand2(elem, bcode){
	if(!elem || typeof elem === "undefined") return;
// 	alert(elem.className);
// 	alert(bcode);
	if(elem.className.trim() === "designers_hearted"){
		// remove heart here
		elem.className = "designers_heart";
		submitHeart("brand", bcode, "remove");
// 		alert('removing');
	}
	else{
		// add heart here
		elem.className = "designers_hearted";
		submitHeart("brand", bcode, "add");
// 		alert('adding');

	}
	window.location.reload();
	
}

function heartingUnhearting(pd,pcode,condition,plpHeartActiveClass){

	if(typeof pd !== "undefined"){
 			
 				for(var i=0; i< pd.childNodes.length; i++){
 						var pd2 = pd.childNodes[i];
 					
 								switch(pd2.nodeType){
 								
									case 1:
									 	if(pd2.childNodes.length > 1){
									 	
									 			
									 			if(condition === "remove"){
									 				
									 						pd2.id = "";
									 			
									 			}else{
									 				pd2.id = "heart_active_"+pcode;
									 			}	
									 			for(var k=0; k< pd2.childNodes.length; k++){
									 			
									 				var pd3 = pd2.childNodes[k];
									 				 if(pd3.nodeName.toLowerCase() === "div"){
									 				 		
									 				 	if(condition === "remove"){
									 				 	
									 				 		  pd3.className = plpHeartActiveClass;
									 				 	}else{
														 	  pd3.className += " "+plpHeartActiveClass;
														  } 
													   }
									 				
									 			
									 			}
									 	
									 	}
							
									   break;
									default:
									    //break;
									}
 				}
 			}


}


 function hideProduct(productCode,size){
        //var row = $('#' +productCode+'-'+size);
      	
        removeProduct(productCode,size, null,
                function(){
                    //row.remove();
                    updateBagTotals();
                   
                    	
                    
                });
    }
    
    

 function updateBagTotals(){
        updateMiniBag(false, function(obj){
            if (obj.msg2)
                $('#subtotal').text(obj.msg2);
          

            var itemCount = parseInt(obj.msg1, 10);
           ;
            if (itemCount == 0){
                $('.nonempty_shopping_bag').fadeOut(function(){$('.empty_shopping_bag').fadeIn();});
            }
        });
    }



function moveProductToFavorite(productCode, size, count){
	
		
		 hideProduct(productCode,size);
		 submitHeart("product", productCode,"add",size);
	
	
	
}





function updateheartCount(){
	   $.ajax({ 
           type: "POST", 
           url: "AjaxHeartTotalCount.jsp", 
           success: function(response) { 
                   var responseObj = eval('(' + response + ')');
                  $("#heart_total_count").html(responseObj);               
           } 
       });
	
}















</script>


<script type="text/javascript">
    _fpqMap = {};

    function onPrediction(productId, size){
        window._fpqMap = window._fpqMap || {};
        if (_fpqMap[productId] != undefined  && _fpqMap[productId][size] != undefined){
            var fpId = _fpqMap[productId][size];
            // quickview version of process click
            clickSize(null, $("#"+fpId));
        }
    }

    function runFitPredictor(){
        window._fpq = window._fpq || [];
        _fpq.push(["subscribe",	"prediction",	onPrediction]);
        //console.log('Testing FITPREDICTOR');
    }
</script>






<script type="text/javascript">
<!--

$(document).ready(function($){
	scrollToTopCSS();
});

function scrollToTopCSS(){
	
  

        $('.plp_back_top_btn').css('z-index', '9999');
        
        var deviceAgent = navigator.userAgent.toLowerCase();
        var agentID = deviceAgent.match(/(iphone|ipod|ipad)/);
        var winWidth = $(window).width();

        if (agentID || winWidth <= 768) {
            $(".plp_back_top_btn").fadeIn(800, 'easeInOutExpo').css({ // show up in corner at iPad
                'position' : 'fixed',
                'right' : 10,
                'bottom' : 25
            });
        }

      // Product List - Back to Top button height scroll functionality.
        $(window).scroll(function() {
            var winHeight = $(window).height();
            var docHeight = $(document).height();
            var scrollWindow = $(window).scrollTop()

            var winWidth = $(window).width();
            var contentWidth = 960;
            var btnPosition = (winWidth - contentWidth) / 2 - 95;

            //$('p.page_test').text('scroll window: ' + scrollWindow + 'px, window height: ' + winHeight + 'px, Document Height: ' + docHeight + 'px, window width: ' + winWidth);
            //$('.plp_back_top_btn').css('z-index', '9999');

            if (scrollWindow <= 250) { // button disappears when at the top of page
                $(".plp_back_top_btn").fadeOut(400, 'easeInOutExpo');
                
            }
            else if (scrollWindow + winHeight + 250 >= docHeight) { // move button over above footer
               $(".plp_back_top_btn").css({
                    'position' : 'fixed',
                    'bottom': 340
               });
            }
            else if (agentID && scrollWindow >= winHeight - 250) { // show up on scroll down iPad 
                $(".plp_back_top_btn").fadeIn(800, 'easeInOutExpo').css({
                    'position' : 'fixed',
                    'right' : 10,
                    'bottom' : 25
                });
            }
            else if (scrollWindow >= winHeight - 250) { //show up on scroll down
                $(".plp_back_top_btn").fadeIn(800, 'easeInOutExpo').css({
                    'position': 'fixed',
                    'right': btnPosition,
                    'bottom': 25
                });
            }
            else {
                $(".plp_back_top_btn").fadeIn(800, 'easeInOutExpo').css({// show up on scroll down default
                    'position': 'fixed',
                    'right': btnPosition,
                    'bottom': 25
                });
            }
        
           
        });

    //Product List - Back to Top button width resize functionality.
        $(window).resize(function() {
            var winWidth = $(window).width();
            var contentWidth = 960;
            var btnPosition = (winWidth - contentWidth) / 2 - 95;

            if (winWidth <= 1130 && winWidth >= 769){
                $(".plp_back_top_btn").fadeOut(400, 'easeInOutExpo');
            }
            else if (agentID || winWidth <= 768) {  // iPad
                $(".plp_back_top_btn").fadeIn(800, 'easeInOutExpo').css({
                    'position' : 'fixed',
                    'right' : 10,
                    'bottom' : 340
                });
            }  
            else {
                $(".plp_back_top_btn").fadeIn(800, 'easeInOutExpo').css({ // default
                    'position' : 'fixed',
                    'right' : btnPosition,
                    'bottom' : 340
                });
            }
            // Detect window width at 768pc add or remove class

        });

    

    
    var winWidth = $(window).width();
    if (winWidth <= 768) {
        $('.nav_menu').addClass('width_768');
    }

    $(window).resize(function() {
        if (winWidth <= 768) {
            $('.nav_menu').addClass('width_768');
        } else {
            $('.nav_menu').removeClass('width_768');
        }
    });

	
}
var leftArrowKey;
var rightArrowKey;
// window.onkeypress = keypressFunc;
window.onkeydown = keypressFunc;
// alert(navigator.userAgent);
//FF=Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:25.0) Gecko/20100101 Firefox/25.0
//SAFARI=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.28.10 (KHTML, like Gecko) Version/6.0.3 Safari/536.28.10
//CHROME=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
var isFF = false;
var isChrome = false;
var isSafari = false;

if(navigator.userAgent.indexOf('Firefox') != -1){
	isFF = true;
}else if(navigator.userAgent.indexOf('Chrome') != -1){
	isChrome = true;
}else if(navigator.userAgent.indexOf('Safari') != -1){
	isSafari = true;
}


function keypressFunc(e){
// 	alert(e.keyCode);
	if(e.keyCode===27 && !isSafari){
		// esc
		hideQuickView();
	}
	else if(e.keyCode===37){
		// left arrow
// 		alert(leftArrowKey);
		eval(leftArrowKey);
	}
	else if(e.keyCode===39){
		// right arrow
// 		alert(rightArrowKey);
		eval(rightArrowKey);
		
	}
}


function setArrowKey(){
	var code = arguments[0];
	var LArrowKey = document.getElementById("plp_qv_left_aarrow_"+code).href;
	var RArrowKey = document.getElementById("plp_qv_right_aarrow_"+code).href;
	var regx1 = new RegExp("%20", "gi");
	leftArrowKey = LArrowKey.replace(regx1,"");
	rightArrowKey = RArrowKey.replace(regx1,"");
}





//-->
</script>



	<script type="text/javascript">
<!--
// alert("pageLoaded");

function scrollToTop(){
// rev_head-sticky-wrapper goes from 184px to 89px
// trigger at 43 and 44 px (size of global marketting header b**** is 42 )
// height: 89px !important; ---------- height: 107px !important; rev_head-sticky-wrapper.sticky-wrapper.stuck
	 $( "html, body" ).animate({ scrollTop: 50 }, "slow" );
}

//-->
</script>

<script>
    // PopSlide Animation
    $.fn.popSlide = function( options ) {
        return this.each(function() {
            var elem = $( this ),
                    elemHeight = elem.outerHeight(),
                    elemCloseBtn = elem.find('.popslide_close');

            elem.animate({bottom: 0});
            elemCloseBtn.on("click",function(){
                elem.animate({bottom: -elemHeight});
            });
        });
    };
    //setTimeout(function(){$(".popslide").popSlide();}, 3000);

</script>





<script type="text/javascript">
    $(function(){
        // display products into four or three columns depending on screen size
        var prodColum = getCookie("prodColum");
        var isTablet = $(window).width() <= 768;
        var isThree = screen.height >= 800;
        if(isTablet) {
            $("#view_options").hide();
        } else {
            if (prodColum == 3) {
                viewThree();
            } else if (prodColum == 4) {
                viewFour();
            } else {
                if (isThree) {
                    viewThree();
                } else {
                    viewFour();
                }
            }
        }
    });
    function viewThree(){
        $(".product_items").removeClass("prod_view4");
        $(".plp_viewcount .three").addClass("active");
        $(".plp_viewcount .four").removeClass("active");
        setCookie("prodColum", 3, 1000);
    };
    function viewFour(){
        $(".product_items").addClass("prod_view4");
        $(".plp_viewcount .four").addClass("active");
        $(".plp_viewcount .three").removeClass("active");
        setCookie("prodColum", 4, 1000);
    };
</script>
<!-- google remarketing tag -->
<div id="addToBag" style="display:inline;">
</div>

<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"applicationID":"3024510,3057826","applicationTime":610,"beacon":"beacon-5.newrelic.com","queueTime":0,"licenseKey":"1ea52cf247","transactionName":"MgYGMRRYCkRZAENZCwtMLjY2FhYYehFWXgAWTQ4WFg==","agent":"js-agent.newrelic.com\/nr-476.min.js","errorBeacon":"bam.nr-data.net"}</script>


<div id="cboxOverlay" style="display: none;"></div><div id="colorbox" class="colorbox" role="dialog" tabindex="-1" style="display: none;"><div id="cboxWrapper"><div><div id="cboxTopLeft" style="float: left;"></div><div id="cboxTopCenter" style="float: left;"></div><div id="cboxTopRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxMiddleLeft" style="float: left;"></div><div id="cboxContent" style="float: left;"><div id="cboxTitle" style="float: left;"></div><div id="cboxCurrent" style="float: left;"></div><button type="button" id="cboxPrevious"></button><button type="button" id="cboxNext"></button><button id="cboxSlideshow"></button><div id="cboxLoadingOverlay" style="float: left;"></div><div id="cboxLoadingGraphic" style="float: left;"></div></div><div id="cboxMiddleRight" style="float: left;"></div></div><div style="clear: left;"><div id="cboxBottomLeft" style="float: left;"></div><div id="cboxBottomCenter" style="float: left;"></div><div id="cboxBottomRight" style="float: left;"></div></div></div><div style="position: absolute; width: 9999px; visibility: hidden; display: none;"></div></div></body></html>